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

Unified Diff: LayoutTests/fast/css/hover-display-block-none.html

Issue 16951003: Fix broken AttachContext from r152289 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test (/fast/forms/file/input-file-re-render.html) Created 7 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/hover-update.html » ('j') | Source/core/dom/Document.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/hover-display-block-none.html
diff --git a/LayoutTests/fast/css/hover-display-block-none.html b/LayoutTests/fast/css/hover-display-block-none.html
index 6236ebc8230ba5623b5a96dab87c4221cfd0cd62..d1092880a9af00c5ab5009f061860f0dbd8d8601 100644
--- a/LayoutTests/fast/css/hover-display-block-none.html
+++ b/LayoutTests/fast/css/hover-display-block-none.html
@@ -31,9 +31,16 @@
<script src="../js/resources/js-test-pre.js"></script>
</head>
+<script type="text/javascript">
+ function elementHovered() {
+ if (window.testRunner)
+ document.getElementById("hoverTest").style.display = "none";
+ }
+</script>
+
<body>
<div id="dummy" class="box"></div>
- <div id="hoverTest" class="box">When hovered, this box's display will switch from <b>block</b> to <b>none</b> (click on it and keep the mouse button pushed to avoid flicker and get a more clear view)</div>
+ <div id="hoverTest" class="box" onmouseover="elementHovered()">When hovered, this box's display will switch from <b>block</b> to <b>none</b> (click on it and keep the mouse button pushed to avoid flicker and get a more clear view)</div>
<div id="after_hoverTest" class="box">This is here to show the layout being recomputed</div>
<script type="text/javascript">
« no previous file with comments | « no previous file | LayoutTests/fast/css/hover-update.html » ('j') | Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698