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

Unified Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-flow-added.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-flow-added.html
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-flow-added.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-flow-added.html
deleted file mode 100644
index 4f731a349462e426c0ac2d49585c552624216f7e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-flow-added.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!doctype html>
-<html>
- <!--
- Test for https://bugs.webkit.org/show_bug.cgi?id=66642 ([CSSRegions][CSSOM] Implement NamedFlow interface).
- Test that getting a WebKitNamedFlow for a flow that was added returns a non-null object.
- On success, you should see a PASS below.
- -->
- <head>
- <script src="../resources/helper.js"></script>
- <style>
- .pass {
- font-weight: bold;
- color: green;
- }
-
- .fail {
- font-weight: bold;
- color: red;
- }
-
- .flow {
- -webkit-flow-into: flow;
- }
-
- .noFlow {
- -webkit-flow-into: none;
- }
- </style>
- </head>
- <body onload="test()">
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=66642">66642: [CSSRegions]Implement NamedFlow interface</a></p>
- <p>Getting a WebKitNamedFlow object for a flow that was added should return a non-null object.</p>
- <p>On success, you should see PASS below.</p>
- <div id="article" class="noFlow"></div>
- <div id="result" class="fail">FAIL</div>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- // Get the named flow object before adding the flow thread.
- var namedFlow = getFlowByName("flow");
- var namedFlow2;
-
- function test()
- {
- namedFlow2 = getFlowByName("flow");
- if (!namedFlow && namedFlow2) {
- document.getElementById("result").innerText = "PASS";
- document.getElementById("result").className = "pass";
- }
- }
-
- document.getElementById("article").className = "flow";
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698