marker-content-019.html (1138B)
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-019-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-content/#content-property"> 8 <meta name="assert" content="Checks that the 'content: none' hides the ::marker."> 9 <style> 10 ::marker { 11 content: none 12 } 13 .inside { 14 list-style-position: inside; 15 } 16 .symbol { 17 list-style-type: disc; 18 } 19 .decimal { 20 list-style-type: decimal; 21 } 22 .string { 23 list-style-type: "string"; 24 } 25 .image { 26 list-style-image: url("/images/green-100x50.png"); 27 } 28 </style> 29 <ol class="inside"> 30 <li class="symbol">inside symbol</li> 31 <li class="decimal">inside decimal</li> 32 <li class="string">inside string</li> 33 <li class="image">inside image</li> 34 </ol> 35 <ol class="outside"> 36 <li class="symbol">outside symbol</li> 37 <li class="decimal">outside decimal</li> 38 <li class="string">outside string</li> 39 <li class="image">outside image</li> 40 </ol>