Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: LayoutTests/fast/css/first-letter-punctuation.html

Issue 249353003: Apply the correct style to first-letter pseudo elements composed of different renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style type="text/css"> 4 <style type="text/css">
5 div:first-letter 5 div:first-letter
6 { 6 {
7 color: green; 7 color: green;
8 font-size: 36px; 8 font-size: 26px;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body> 12 <body>
13 <p>Test passes if all the T are green, as well as punctuation elements w hen they are adjacent to a letter (without spaces)</p> 13 <p>Test passes if all the T are green, as well as punctuation elements w hen they are adjacent to a letter (without spaces)</p>
14 14
15 <div>Test</div> 15 <div>Test</div>
16 <div>&nbsp;Test&nbsp;</div> 16 <div>&nbsp;Test&nbsp;</div>
17 17
18 <div>(T)est</div> 18 <div>(T)est</div>
19 <div>(Test)</div>
19 <div>&nbsp;(T)est</div> 20 <div>&nbsp;(T)est</div>
21 <div>&nbsp;(Test)</div>
22
20 <div>&ldquo;T&rdquo;est</div> 23 <div>&ldquo;T&rdquo;est</div>
24 <div>&ldquo;Test&rdquo;</div>
25 <div><q>T</q>est</div>
26 <div><q>Test</q></div>
21 27
22 <div>&amp;Test</div> 28 <div>&amp;Test</div>
23 <div>&nbsp;&amp;Test</div> 29 <div>&nbsp;&amp;Test</div>
24 <div>T&amp;S<div> 30 <div>T&amp;S<div>
25 <div>T&nbsp;&amp;&nbsp;S<div> 31 <div>T&nbsp;&amp;&nbsp;S<div>
26 <div>T &amp; S<div> 32 <div>T &amp; S<div>
27 33
28 <div>&laquo;&nbsp;S&nbsp;&raquo;</div> 34 <div>&laquo;&nbsp;S&nbsp;&raquo;</div>
29 <div>&laquo;&nbsp;S&nbsp;&raquo;&nbsp;&nbsp;&nbsp;&nbsp;</div> 35 <div>&laquo;&nbsp;S&nbsp;&raquo;&nbsp;&nbsp;&nbsp;&nbsp;</div>
30 36
31 <div>&bull; </div> 37 <div>&bull; </div>
32 <div>&nbsp;&bull; &nbsp;</div> 38 <div>&nbsp;&bull; &nbsp;</div>
33 </body> 39 </body>
34 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698