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

Unified Diff: LayoutTests/fast/regions/region-element-dynamic-detach-flow.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/region-element-dynamic-detach-flow.html
diff --git a/LayoutTests/fast/regions/region-element-dynamic-detach-flow.html b/LayoutTests/fast/regions/region-element-dynamic-detach-flow.html
deleted file mode 100644
index f08dd6ef5e98803a20678f551b1edfc4325e0959..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/region-element-dynamic-detach-flow.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <style>
- .region
- {
- -webkit-flow-from: no-flow;
- }
- </style>
- </head>
- <body>
- <p>Tests that changing a region element into a normal element makes the element's content available.</p>
- <div class="region">
- <div id="region_content">This text should be visible when the element is no longer a region.</div>
- </div>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
- var region = document.getElementsByClassName("region")[0];
- // The element is a region without a connected flow, its content is not available.
- var pass = region.innerText.length == 0;
- // The element becomes a normal element, its content becomes available.
- region.className = "";
- pass &= region.innerText.length != 0;
- document.write("<p>" + pass ? "PASS" : "FAIL" + "</p>");
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698