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

Unified Diff: LayoutTests/fast/events/mouse-cursor-style-change-iframe-expected.txt

Issue 1121433003: Fix mouse cursor update timer to be page-global instead of per-frame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: bokan cr feedback Created 5 years, 8 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 | « LayoutTests/fast/events/mouse-cursor-style-change-iframe.html ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/mouse-cursor-style-change-iframe-expected.txt
diff --git a/LayoutTests/fast/events/mouse-cursor-style-change-iframe-expected.txt b/LayoutTests/fast/events/mouse-cursor-style-change-iframe-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0f915de1f511378922852d17d2a440a899bf8de
--- /dev/null
+++ b/LayoutTests/fast/events/mouse-cursor-style-change-iframe-expected.txt
@@ -0,0 +1,23 @@
+Test that a cursor change that occurs due only to a style change correctly considers iframes.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Mouse moved to cursor changing div
+Cursor Info: type=Hand hotSpot=0,0
+PASS window.internals.getCurrentCursorInfo(document) is "type=Hand hotSpot=0,0"
+Changing cursor style
+PASS window.internals.getCurrentCursorInfo(document) is "type=Wait hotSpot=0,0"
+
+Now move mouse onto iframe above cursor changing div
+PASS document.elementFromPoint(100, y) is frame
+PASS document.elementsFromPoint(100, y).indexOf(container) > 0 is true
+PASS window.internals.getCurrentCursorInfo(document) is "type=IBeam hotSpot=0,0"
+
+Changing cursor style of the background should not affect the cursor as it sits over the iframe
+PASS window.internals.getCurrentCursorInfo(document) is "type=IBeam hotSpot=0,0"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/mouse-cursor-style-change-iframe.html ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698