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

Unified Diff: LayoutTests/fast/events/drag-display-none-element.html

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch (fixed test that was expected to fail and is now passing) 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
Index: LayoutTests/fast/events/drag-display-none-element.html
diff --git a/LayoutTests/fast/events/drag-display-none-element.html b/LayoutTests/fast/events/drag-display-none-element.html
index 41b54449cac9b8f2dc8d34af401adc3de121a29f..e24503ca81b6d876c4d9591c764495eb6f1e60b5 100644
--- a/LayoutTests/fast/events/drag-display-none-element.html
+++ b/LayoutTests/fast/events/drag-display-none-element.html
@@ -15,6 +15,7 @@ function runTest()
if (window.testRunner)
testRunner.notifyDone();
document.getElementById('console').appendChild(document.createTextNode('PASS'));
+ dragme.style.display = "none";
});
if (!window.testRunner)
@@ -33,7 +34,7 @@ window.addEventListener('load', runTest);
</script>
</head>
<body>
-<div id="dragme" draggable="true">To test, try dragging this div around. It shouldn't crash, and PASS should appear below when you end the drag.</div>
+<div id="dragme" draggable="true">To test, try dragging this div around. It shouldn't crash, the div should disappear and PASS should appear.</div>
<div id="console"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698