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

Side by Side Diff: LayoutTests/fast/regions/crash-reflow-inline-content-in-variable-width-regions.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 body { font: 16px/1.25 monospace; }
6 #content { -webkit-flow-into: article; }
7 .rightFloat { float: right; }
8 .region { -webkit-flow-from: article; }
9 .small { width: 75px; height: 25px; }
10 .big { width: 200px; height: 150px; }
11 </style>
12 </head>
13 <body>
14 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=112515"> [CSSRe gions] Crash reflowing content in variable width regions</a>.</p>
15 <p>On success, you should see past below and test does not crash or assert.< /p>
16 <div id="content">
17 <div class="rightFloat">Floating content</div>
18 </div>
19 <div class="region small"></div>
20 <div class="region big"></div>
21 <p>PASS</p>
22 <script>
23 document.body.offsetTop; // force layout
24 document.getElementById("content").innerHTML = "<span>Some text here</sp an>";
25 if (window.testRunner)
26 window.testRunner.dumpAsText();
27 </script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698