Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / all-shorthand-first-letter.html
blob6e25a09a7a619451c4f8b77ec6a2dc7e73293284
1 <!DOCTYPE html>
2 <style>
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; }
10 </style>
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>