first-letter-selector-021

First-letter on list-style-position: inside

WeasyPrint

This browser

Flags
may
Assertion
User agents may ignore ':first-letter' on list items with 'list-style-position: inside'.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: First-letter on list-style-position: inside</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter">
 7         <meta name="flags" content="may">
 8         <meta name="assert" content="User agents may ignore ':first-letter' on list items with 'list-style-position: inside'.">
 9         <style type="text/css">
10             li:first-letter
11             {
12                 color: green;
13             }
14             .inside
15             {
16                 list-style-position: inside;
17             }
18         </style>
19     </head>
20     <body>
21         <p>Test passes regardless if the letter "F" in the "Filler Text" below is green.</p>
22         <ul>
23             <li class="inside">Filler Text</li>
24         </ul>
25     </body>
26 </html>