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

Unified Diff: LayoutTests/fast/regions/hover-single-flow-into-other.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/hover-single-flow-into-other.html
diff --git a/LayoutTests/fast/regions/hover-single-flow-into-other.html b/LayoutTests/fast/regions/hover-single-flow-into-other.html
deleted file mode 100644
index 99718eccb1cb126db99421a171f611f26556c900..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/hover-single-flow-into-other.html
+++ /dev/null
@@ -1,76 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <style>
- p, div {
- font: 12px/1 monospace;
- }
- .box {
- width: 260px;
- height: 120px;
- padding: 5px;
- margin: 10px;
- }
-
- #region1 {
- -webkit-flow-from: flow1;
- width: 300px;
- height: 190px;
- border: 5px solid green;
- background-color: #ddddff;
- margin-bottom: 20px;
- }
-
- #region2 {
- -webkit-flow-from: flow2;
- width: 300px;
- height: 190px;
- border: 5px solid darkred;
- background-color: #ddddff;
- position: relative;
- left: 350px;
- top: -220px;
- }
-
- #content {
- -webkit-flow-into: flow1;
- border: 5px solid blue;
- background: #aaaacc;;
- }
- #content:hover {
- -webkit-flow-into: flow2;
- }
- </style>
-</head>
-
-<script type="text/javascript">
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- function beginTest() {
- if (window.eventSender) {
- var content = document.querySelector("#content");
-
- // move mouse on the hover test object
- eventSender.mouseMoveTo(content.offsetLeft + 20, content.offsetTop + 20);
-
- testRunner.notifyDone();
- }
- }
-</script>
-
-<script type="text/javascript">
- function elementHovered() {
- if (window.testRunner)
- document.getElementById("content").style.webkitFlowInto = "flow2";
- }
-</script>
-
-
-<body onload="beginTest()">
- <p>When hovering the <span style="color:blue"><b>blue box</b></span>, it should move to the <span style="color:darkred"><b>second region</b></span> (it's <b>flow-into</b> will change to the 2nd thread)</p>
- <div id="region1"></div>
- <div id="region2"></div>
- <div id="content" class="box" onmouseover="elementHovered()">This box is flowed into the <span style="color:green"><b>first region</b></span> when it is <b>not</b> hovered and into the <span style="color:darkred"><b>second region</b></span> when it <b>is</b></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698