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

Side by Side Diff: LayoutTests/fast/regions/region-width-change-relayout-3.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 <style>
5 .flowContent { font-size: 50px; font-family: monospace; line-height: 2; color: green; }
6 #article { -webkit-flow-into: flow; }
7
8 .regionSize { width: 200px; }
9 .regionSize2 { width: 100px; }
10
11 #region { -webkit-flow-from: flow; height: 100px; border: 1px solid black;}
12 #region2 { -webkit-flow-from: flow; height: 100px; border: 1px solid black;}
13 </style>
14 </head>
15 <body>
16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=103993"> Bl ocks don't relayout children if the width of a region changes</a>.</p>
17 <p>When the width of a region decreases the lines in that region should be recomputed. This test covers the special case of having inlines flow directly in the thread.</p>
18 <p>On success, there should be no text outside the black rectangles and both regions should have text in them.</p>
19 <div class="flowContent">
20 <span id="article">
21 a a a a a
22 </span>
23 </div>
24 <div id="region" class="regionSize"></div>
25 <div id="region2" class="regionSize"></div>
26 <script>
27 document.body.offsetTop; //force layout
28 document.getElementById("region").className = "regionSize2";
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698