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

Side by Side Diff: LayoutTests/fast/regions/firstletter-inside-flowthread.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=102957</title>
5 <style>
6 .content {
7 -webkit-flow-into: flow;
8 font-size: 50px;
9 color: green;
10 font-family: Ahem;
11 }
12
13 .first-letter-div:first-letter {
14 color: red;
15 }
16
17 .region {
18 -webkit-flow-from: flow;
19 height: 50px;
20 }
21 </style>
22 <script>
23 function removeFirstLetter() {
24 document.body.offsetTop; // force layout
25 document.getElementById("target").style.display = "none";
26 }
27 </script>
28 </head>
29 <body onload="removeFirstLetter()">
30 <p>Test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=102957 ">102957</a>.</p>
31 <p>Testing that the removal of the first-letter pseudo render object wil l not crash the flow thread logic.</p>
32 <p>You should see a green rectangle. There should be no red or yellow.</ p>
33 <div class="content">
34 <div id="target" class="first-letter-div">aaaa</div>
35 aaaa
36 </div>
37 <div class="region"></div>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698