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

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

Issue 440233002: [CSS Grid Layout] Ignore ::first-letter pseudo-element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 <link href="resources/flexbox.css" rel="stylesheet"> 3 <link href="resources/flexbox.css" rel="stylesheet">
4 <style> 4 <style>
5 .container { display: -webkit-flex }
6 .container::first-letter { line-height: 100px; } 5 .container::first-letter { line-height: 100px; }
6 .flexbox::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"> 15 <div class="flexbox">
16 <p data-expected-height=20>The first item.</p> 16 <p data-expected-height=20>The first item.</p>
17 <p data-expected-height=20>The second item.</p> 17 <p data-expected-height=20>The second item.</p>
18 </div> 18 </div>
19 </div> 19 </div>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698