marker-inherit-line-height.html (845B)
1 <!doctype html> 2 <title>Check that :marker inherits line-height</title> 3 <link rel=help href="https://drafts.csswg.org/css-pseudo-4/#tree-abiding"> 4 <link rel=help href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> 5 <link rel=help href="https://drafts.csswg.org/css-display-3/#list-items"> 6 <link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1415759"> 7 <link rel=match href=marker-inherit-line-height-ref.html> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 9 <style> 10 div { 11 font: 128px/1 Ahem; 12 border: 2px solid blue; 13 background: orange; 14 color: black; 15 } 16 ol { 17 margin: 0; 18 padding: 0; 19 list-style-position: inside; 20 list-style-type: decimal; 21 } 22 </style> 23 24 <p>There should be two black rectangles below with no space between them and 25 the border above/below.</p> 26 <div> 27 <ol> 28 <li>X 29 </ol> 30 </div>