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

Side by Side Diff: LayoutTests/fast/css/first-letter-different-renderers-expected.html

Issue 207553007: 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: Address comments from the latest review 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 h1 { margin: 8px 0px; font-size: 18px; }
6 div, p, ul { margin: 0px; font-size: 14px; }
7 .bigRedText, .bigRedText a { font-size:16px; font-weight: bold; color: red; }
8 ul li { list-style-type: none; }
9 </style>
10 </head>
11 <body>
12 <div>
13 <h1>Paragraphs with only one character</h1>
14 <div>
15 <p><span class="bigRedText">A</span></p>
16 <p><span class="bigRedText"><b>B</b></span></p>
17 <p><span class="bigRedText"><em><b>C</b></em></span></p>
18 </div>
19 <h1>Paragraphs with leading spaces</h1>
20 <div>
21 <p><span class="bigRedText">&nbsp;A</span>ppetizers</p>
22 <p><span class="bigRedText">&nbsp;S</span><a href="#">tarters:</a> Soups & Salads</p>
23 <p><span class="bigRedText">&nbsp; &nbsp; M</span>ain Course: <a href="#"> Pasta</a></p>
24 <p><span class="bigRedText">&nbsp;&nbsp;&nbsp; D</span>essert: <a href="#" >Pasta</a></p>
25 </div>
26 <h1>Multiple paragraphs inside nested blocks (only the first one should get the first-letter)</h1>
27 <div class="testDiv">
28 <div>
29 <p><span class="bigRedText">&ldquo;(A)&rdquo;:</span> Appetizers</p>
30 <p>&ldquo;(<a href="#">B</a>)&rdquo;: <a href="#">Starters:</a> Soups & Salads</p>
31 <p>&ldquo;<b>(</b><a href="#">C</a><b>)</b>&rdquo;: Main Course: <a href ="#">Pasta</a></p>
32 </div>
33 </div>
34 <h1>List with spaces after the leading dot</h1>
35 <ul>
36 <li>&middot; Appetizers</li>
37 <li>&middot; <a href="#">Starters:</a> Soups & Salads</li>
38 <li>&middot; Main Course: <a href="#">Pasta</a></li>
39 </ul>
40 <h1>List without spaces after the leading dot</h1>
41 <ul>
42 <li><span class="bigRedText">&middot;A</span>ppetizers</li>
43 <li><span class="bigRedText">&middot;S</span><a href="#">tarters:</a> Soup s & Salads</li>
44 <li><span class="bigRedText">&middot;M</span>ain Course: <a href="#">Pasta </a></li>
45 </ul>
46 <h1>first-letter with multiple punctuation characters</h1>
47 <ul>
48 <li><span class="bigRedText">&ldquo;(A)&rdquo;:</span> Appetizers</li>
49 <li><span class="bigRedText">&ldquo;(B)&rdquo;:</span> <a href="#">Starter s:</a> Soups & Salads</li>
50 <li><span class="bigRedText">&ldquo;(C)&rdquo;:</span> Main Course: <a hre f="#">Pasta</a></li>
51 <li><span class="bigRedText">&#34;<b>(</b>D<b>)</b>&#34;:</span> Desserts< /li> </ul>
52 </div>
53 </body>
54 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/first-letter-different-renderers.html ('k') | LayoutTests/fast/css/first-letter-punctuation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698