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

Side by Side Diff: LayoutTests/fast/regions/remove-box-info-assert.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 <html>
2 <head>
3 <style>
4 .content {
5 -webkit-flow-into: flow;
6 }
7
8 .region {
9 -webkit-flow-from: flow;
10 width: 300px;
11 height: 300px;
12 }
13 </style>
14 </head>
15 <body>
16 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=109914">109914</ a>: [CSS Regions] Assertion in RenderFlowThread::removeRenderBoxRegionInfo</p>
17 <p>This test PASSES if it does not CRASH or ASSERT.</p>
18 <!-- We need two regions to prevent optimizations from hiding the assert ion-->
19 <div class="region"></div>
20 <div class="region" id="region"></div>
21 <div class="content"><div id="content">X</div></div>
22 <script type="text/javascript">
23 if (window.testRunner)
24 window.testRunner.dumpAsText();
25 document.body.offsetTop;
26 var region = document.getElementById("region");
27 var content = document.getElementById("content");
28 region.style.webkitFlowFrom = "change_flow";
29 content.style.webkitFlowInto = "change_flow";
30 document.body.offsetTop;
31 content.style.display = "none";
32 region.style.display = "none";
33 </script>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698