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

Side by Side Diff: LayoutTests/fast/regions/region-styling/removed-element-style-in-region-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 <head>
4 <style>
5 #article1 { -webkit-flow-into: flow1; }
6 #region1 { -webkit-flow-from: flow1; }
7 @-webkit-region #region1 { div { background-color: green; } }
8 </style>
9 </head>
10 <body>
11 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=93276">WebK it Bug 93276</a> Crash when using style in region for removed element.</p>
12 <p>The test passes if it does not crash or assert.</p>
13 <p>PASS</p>
14 <div id="article1">
15 <span><span id="span1"><div></div></span></span>
16 </div>
17 <div id="region1"><div>
18 <script>
19 if (window.testRunner)
20 window.testRunner.dumpAsText();
21 document.body.offsetTop;
22 child = document.getElementById("span1");
23 child.parentNode.removeChild(child);
24 </script>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698