marker-content-007.tentative.html (683B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Test: ::marker pseudo elements styled with 'content' property and display:inline-grid</title> 6 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> 7 <link rel="match" href="marker-content-007-ref.html"> 8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> 9 <style> 10 li { 11 list-style-position: inside; 12 } 13 li::marker { 14 content: "a" "b"; 15 display: inline-grid; 16 grid-template-columns: 50px 60px; 17 } 18 li::before { 19 content: "c"; 20 } 21 li::after { 22 content: "d"; 23 } 24 span { font-size: 32pt; } 25 </style> 26 </head> 27 <body> 28 <ol><li></li><li>B</li><li><span>C</span></li></ol> 29 </body> 30 </html>