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

Unified Diff: LayoutTests/fast/regions/hit-test-float.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/hit-test-float.html
diff --git a/LayoutTests/fast/regions/hit-test-float.html b/LayoutTests/fast/regions/hit-test-float.html
deleted file mode 100644
index e5b3f5ac94e7d757462725bfa7620239a1e4bb0f..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/hit-test-float.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<style>
- #target { width: 50px; height: 50px; background-color: green; margin: 10px; }
-</style>
-<p>
- Test for hit-testing of floats inside CSS Regions.
-</p>
-<div style="position:relative; margin: 100px; width: 300px; height: 200px; outline: solid black;">
- <div style="position:absolute;left:0;top:0; -webkit-flow-from: flow; width:150px;height:200px;"></div>
- <div style="position:absolute;left:150px;top:0; -webkit-flow-from: flow; width:150px;height:200px"></div>
- <div style="-webkit-flow-into: flow">
- <div style="height: 250px; background-color: purple;"></div>
- <div style="float: right; background-color: lightyellow; margin: 5px;">
- <div id="target"></div>
- </div>
- </div>
-</div>
-<div id="result">FAIL: Test did not run.</div>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var result = document.getElementById("result");
- var hitElement = document.elementFromPoint(370, 230);
- if (hitElement === document.getElementById("target"))
- result.innerText = "PASS";
- else
- result.innerText = "FAIL: Hit " + hitElement;
-</script>

Powered by Google App Engine
This is Rietveld 408576698