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

Unified Diff: LayoutTests/fast/regions/hover-single-flow-from-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-from-other.html
diff --git a/LayoutTests/fast/regions/hover-single-flow-from-other.html b/LayoutTests/fast/regions/hover-single-flow-from-other.html
deleted file mode 100644
index cf8edf7c96c58dcf9d941d8e47ccc1543972f19a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/hover-single-flow-from-other.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <style>
- p, div {
- font: 12px/1 monospace;
- }
- .box {
- width: 260px;
- height: 120px;
- padding: 5px;
- margin: 10px;
- }
-
- #region {
- -webkit-flow-from: flowNormal;
- width: 300px;
- height: 190px;
- border: 5px solid green;
- border-left: 100px solid green;
- background-color: #ddddff;
- }
- #region:hover {
- border-color: darkred;
- -webkit-flow-from: flowHover;
- }
-
- #content1 {
- -webkit-flow-into: flowNormal;
- border: 5px solid blue;
- }
-
- #content2 {
- -webkit-flow-into: flowHover;
- border: 5px solid darkred;
- position: relative;
- top: 30px;
- }
- </style>
-</head>
-
-<script type="text/javascript">
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- function beginTest() {
- if (window.eventSender) {
- var region = document.querySelector("#region");
-
- // move mouse on the hover test object
- eventSender.mouseMoveTo(region.offsetLeft + 20, region.offsetTop + 20);
- eventSender.mouseDown(0);
-
- testRunner.notifyDone();
- }
- }
-</script>
-
-<body onload="beginTest()">
- <p>When hovering the <span style="color:green"><b>region</b></span>, the <span style="color:blue"><b>blue</b></span> box should disappear and a <span style="color:darkred"><b>red</b></span> one should appear instead (the region's <b>flow-from</b> will change to a different thread)</p>
- <div id="region"></div>
- <div id="content1" class="box">This box is flowed into the <span style="color:green"><b>region</b></span> when the region is <b>not</b> hovered</div>
- <div id="content2" class="box">This box is flowed into the <span style="color:darkred"><b>region</b></span> when the region <b>is</b> hovered</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698