marker-content-016.html (777B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Test: ::marker pseudo elements styled with 'content' property</title> 4 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> 5 <link rel="match" href="marker-content-016-ref.html"> 6 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> 7 <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#line-decoration"> 8 <meta name="assert" content="Checks that the 'content' property of a ::marker doesn't affect the propagation of text decorations."> 9 <style> 10 ::marker { 11 content: "[marker]"; 12 } 13 ol { 14 text-decoration: underline; 15 padding-left: 100px; 16 } 17 .inside { 18 list-style-position: inside; 19 } 20 </style> 21 <ol> 22 <li class="outside">outside</li> 23 <li class="inside">inside</li> 24 </ol>