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

Side by Side Diff: LayoutTests/fast/regions/region-styling/set-box-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 .regionBox2 { width: 280px; height: 100px; }
6
7 #article { -webkit-flow-into: flow; }
8 #region { -webkit-flow-from: flow; }
9
10 @-webkit-region #region { span { background-color: red } };
11 </style>
12 <script>
13 if (window.testRunner) {
14 window.testRunner.dumpAsText();
15 testRunner.waitUntilDone();
16 }
17
18 function test()
19 {
20 try {
21 child = document.getElementById("li");
22 child.parentNode.removeChild(child);
23 } catch(e) {
24 }
25
26 if (window.testRunner)
27 testRunner.notifyDone();
28 }
29
30 setTimeout("test()", 0);
31 </script>
32 <body>
33 <p> Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=78298">78298</a >: Crash in RenderFlowThread::setRegionBoxesRegionStyle</p>
34 <p> This test PASSES if it does not CRASH or ASSERT.</p>
35 <div id="article">
36 <li id="li">
37 <p id="p"></p>
38 </li>
39 </div>
40 <div id="region" class="regionBox2"></div>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698