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

Unified Diff: LayoutTests/fast/regions/content-flowed-into-regions-no-scroll.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/content-flowed-into-regions-no-scroll.html
diff --git a/LayoutTests/fast/regions/content-flowed-into-regions-no-scroll.html b/LayoutTests/fast/regions/content-flowed-into-regions-no-scroll.html
deleted file mode 100644
index 9e385c72c4a1e9fa410d72a2bcecaaf855bf1523..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/content-flowed-into-regions-no-scroll.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!doctype html>
-<html>
- <!--
- The content from a flow is displayed into a region. The content fills up the region and the remaining content is not displayed.
- This test shows that the content in the region cannot be scrolled. On success, you should see a green box followed by 'PASS'.
- -->
- <head>
- <style>
- .box {
- width: 100px;
- height: 100px;
- }
-
- #flow {
- -webkit-flow-into: article;
- }
-
- #region {
- -webkit-flow-from: article;
- overflow: hidden;
- }
-
- #greenBox {
- background-color: green;
- }
-
- #redBox {
- background-color: red;
- }
- </style>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function test()
- {
- document.getElementById('redBox').scrollIntoView(false);
- var element = document.elementFromPoint(50, 50);
-
- // Check whether the red box was moved upwards.
- if (element == document.getElementById('redBox'))
- document.getElementById('result').innerText = "FAIL";
- }
- </script>
- </head>
- <body onload="test()">
- <div id="flow">
- <div id="greenBox" class="box"></div>
- <div id="redBox" class="box"></div>
- </div>
- <div id="region" class="box"></div>
- <div id="result">PASS</div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698