3 /* Some invalid properties for ::first-letter */
4 #elm { overflow:scroll; max-width:
4em; opacity:
0.6; background:yellow; }
6 /* Some valid properties for ::first-letter */
7 #elm { margin-right:
10px; padding-left:
3em; }
9 #elm::first-letter { color:red; all:inherit; margin-left:-
3em; float:left; }
11 <p>Test that an all:inherit declaration in a ::first-letter rule inherits what should be inherited,
12 while invalid properties for ::first-letter aren't.
</p>
13 <p>The word
"PASS" should be seen below, in a yellow box. There should be scrollbars on the yellow
14 box. Translucency should be uniform. There should be no red.
</p>
15 <div id=
"elm">P
<span style=
"margin-left:-10px;">ASS
</span></div>