marker-content-010.html (1088B)
1 <!DOCTYPE html> 2 <html><head> 3 <meta charset="utf-8"> 4 <title>CSS Test: ::marker pseudo elements styled with 'content' property</title> 5 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> 6 <!-- Outside markers may affect the height of the first line of the list item. 7 In the 1st reference the line height isn't affected, in the 2nd one it is. 8 Both are valid behaviors, the test passes if one of them matches --> 9 <link rel="match" href="marker-content-010-ref-001.html"> 10 <link rel="match" href="marker-content-010-ref-002.html"> 11 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> 12 <style> 13 html,body { 14 color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0; 15 } 16 body { margin-left: 40px; } 17 .big { font-size:xx-large; } 18 .big-marker > li::marker { font-size:xx-large; } 19 </style> 20 </head><body> 21 <ol> 22 <li><div class="big">C<br>D</div></li> 23 <li><div></div><div class="big">C<br>D</div> 24 </li> 25 </ol> 26 <ol class="big-marker"> 27 <li><div>C<br>D</div></li> 28 <li><div></div><div>C<br>D</div></li> 29 </ol> 30 </body></html>