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

Side by Side Diff: LayoutTests/css3/flexbox/flexbox-ignore-container-firstLetter.html

Issue 686173006: Ignore ::first-letter from ancestors in grids and flexboxes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="resources/flexbox.css" rel="stylesheet"> 3 <link href="resources/flexbox.css" rel="stylesheet">
4 <style> 4 <style>
5 .container::first-letter { line-height: 100px; } 5 .container::first-letter { line-height: 100px; }
6 .flexbox::first-letter { line-height: 200px; } 6 .flexboxFirstLetter::first-letter { line-height: 200px; }
7 p { line-height: 20px; } 7 p { line-height: 20px; }
8 </style> 8 </style>
9 9
10 <script src="../../resources/check-layout.js"></script> 10 <script src="../../resources/check-layout.js"></script>
11 <body onload="checkLayout('.flexbox')"> 11 <body onload="checkLayout('.flexbox')">
12 <p>This test flex item should ignore container's firstLetter pseudo element.</p> 12 <p>This test flex item should ignore container's firstLetter pseudo element.</p>
13 13
14 <div class="container"> 14 <div class="container">
15 <div class="flexbox flexboxFirstLetter">
16 <p data-expected-height=20>The first item.</p>
17 <p data-expected-height=20>The second item.</p>
18 </div>
19 </div>
20
21 <div class="container">
15 <div class="flexbox"> 22 <div class="flexbox">
16 <p data-expected-height=20>The first item.</p> 23 <p data-expected-height=20>The first item.</p>
17 <p data-expected-height=20>The second item.</p> 24 <p data-expected-height=20>The second item.</p>
18 </div> 25 </div>
19 </div> 26 </div>
20 </body> 27 </body>
21 </html> 28 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/flexbox-ignore-container-firstLetter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698