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

Side by Side Diff: LayoutTests/fast/forms/label/hover-on-moving-mouse-checkbox-to-parent-label.html

Issue 1064543002: Set hovered state of current Hovered node even if it is also common ancestor of oldHovered node and (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/common.js"></script>
5 <script>
6 function startTest() {
7 var label = document.getElementById("label");
8 var checkbox = document.getElementById("checkbox");
9
10 // Move mouse to checkbox.
11 hoverOverElement(checkbox);
12 // Move mouse to text after checkbox.
13 hoverOverElement(label);
14 }
15 </script>
16 <style>
17 input[type=checkbox]:hover:after {
tkent 2015/05/14 05:24:00 Don't use :after for an input element.
18 content: 'Hovering';
19 top: 2em;
20 position: relative;
21 }
22 </style>
23 </head>
24 <body onload="startTest()">
25 <label id="label"><input id="checkbox" type="checkbox" /> Test</label>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698