Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / text-decorations-on-first-line-and-containing-block.html
blob09ba677fb21c229c8a8de64ed091e6dd9da5b8c2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #parent1, #parent2, #parent3 { text-decoration: underline;}
6 #parent1:first-line { color: green; }
7 #parent2:first-line {color: green; text-decoration: overline;}
8 #parent3:first-line {color: green; text-decoration: underline;}
9 </style>
10 </head>
11 <body>
12 <div>Test for Bugzilla <a href="https://bugs.webkit.org/show_bug.cgi?id=93829">Bug 93829</a>: Text decorations specified on the containing block are not properly applied when ::first-line is present.</div>
13 <br/>
14 <div>The following text should have the first line text in green color with an underline in black color. The remainder of the text should have black underline.</div>
15 <p id="parent1">Lorem ipsum dolor set amet. Lorem ipsum <br/>dolor set amet. Lorem ipsum dolor set amet.</p>
16 <div>The following text should have the first line text in green color with an overline in green color and an underline in black color whereas the remainder of the text should only have an underline in black color. </div>
17 <p id="parent2">Lorem ipsum dolor set amet. Lorem ipsum <br/>dolor set amet. Lorem ipsum dolor set amet.</p>
18 <div>The following text should have the first line text in green color with an underline in green color whereas the remainder of the text should also have an underline in black color. </div>
19 <p id="parent3">Lorem ipsum dolor set amet. Lorem ipsum <br/>dolor set amet. Lorem ipsum dolor set amet.</p>
20 </body>
21 </html>