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

Side by Side Diff: LayoutTests/fast/regions/region-styling/remove-leftover-anon-block-crash.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 <style>
4 #article { -webkit-flow-into: flow; }
5 #region { -webkit-flow-from: flow; }
6 @-webkit-region #region {
7 #article { color: #00ff00; }
8 }
9 </style>
10 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=106191">WebKit Bug 106191</a> Crash when an anonymous block in a flow thread is deleted because it has only block children. </p>
11 <p>The test passes if it does not crash or assert.</p>
12 <p>PASS</p>
13 <div id="article">
14 <em style="display: block;"></em>
15 Text color styled in region: #00ff00.
16 <em id="em">Em color styled in region: #008000.</em>
17 </div>
18 <div id="region"></div>
19 <script>
20 if (window.testRunner)
21 window.testRunner.dumpAsText();
22
23 document.body.offsetTop;
24 var elem = document.getElementById("em");
25 var new_elem = document.createElement("table");
26 elem.parentNode.insertBefore(new_elem, elem);
27 document.body.offsetTop;
28 document.getElementById("article").style.visibility = "hidden";
29 </script>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698