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

Unified Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-event-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/regions/cssom/webkit-named-flow-event-crash.html
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-event-crash.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-event-crash.html
deleted file mode 100644
index da6bc1632cf075ec0cca637231677f058f0344e8..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-event-crash.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8">
- <script src="../../../resources/js-test.js"></script>
- <style>
- body, html {
- width: 500px;
- height: 500px;
- }
- #content {
- width: 100%;
- height: 100%;
- -webkit-flow-into: flow;
- }
- #region {
- width: 100%;
- height: 100%;
- -webkit-flow-from: flow;
- }
- </style>
- </head>
- <body>
- <div id="content">
- Hello crash!
- </div>
- <div id="region">
- </div>
- <script>
- description("The test passes if there is no crash or assert.");
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function dummyHandler (evt) {
- evt.target.removeEventListener("webkitregionoversetchange", dummyHandler);
- debug("This line should not appear!");
- }
-
- setTimeout(function() {
- var namedFlows = document.webkitGetNamedFlows();
- namedFlows["flow"].addEventListener("webkitregionoversetchange", dummyHandler);
- var content = document.getElementById("content");
- var region = document.getElementById("region");
- content.style.height = "600px";
-
- // Schedule a regionoversetchange event.
- document.body.offsetTop;
-
- // Transition the flow to the "NULL" state.
- document.body.removeChild(content);
- document.body.removeChild(region);
-
- setTimeout(function() {
- if (window.testRunner)
- testRunner.notifyDone();
- },0)
- }, 0);
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698