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

Side by Side Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-collection-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 #content { -webkit-flow-into: flow; }
6 #container { -webkit-flow-from: flow; width: 100px; height: 100px;}
7 </style>
8 </head>
9 <script src="../../../resources/js-test.js"></script>
10 <body>
11 <div id="content"></div>
12 <div id="container"></div>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16 var namedFlowCollection = document.webkitGetNamedFlows();
17 document.body.removeChild(document.getElementById("content"));
18 document.body.removeChild(document.getElementById("container"));
19
20 // Force a re-layout event, which forces the deletion of the underlying NamedFlow.
21 document.body.offsetTop;
22
23 var namedFlow = namedFlowCollection.flow;
24 if (namedFlow.name == "flow")
25 document.body.innerText = "PASS";
26 else
27 document.body.innerText = "FAIL";
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698