Title: [179060] trunk/LayoutTests
Revision
179060
Author
[email protected]
Date
2015-01-23 23:05:45 -0800 (Fri, 23 Jan 2015)

Log Message

[Win] Unreviewed gardening. Add Windows baseline for
mouse-cursor-image-set.

* platform/win/fast/events/mouse-cursor-image-set-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (179059 => 179060)


--- trunk/LayoutTests/ChangeLog	2015-01-24 07:04:01 UTC (rev 179059)
+++ trunk/LayoutTests/ChangeLog	2015-01-24 07:05:45 UTC (rev 179060)
@@ -1,3 +1,10 @@
+2015-01-23  Brent Fulgham  <[email protected]>
+
+        [Win] Unreviewed gardening. Add Windows baseline for
+        mouse-cursor-image-set.
+
+        * platform/win/fast/events/mouse-cursor-image-set-expected.txt: Added.
+
 2015-01-23  Benjamin Poulain  <[email protected]>
 
         Add pointer/hover media queries

Added: trunk/LayoutTests/platform/win/fast/events/mouse-cursor-image-set-expected.txt (0 => 179060)


--- trunk/LayoutTests/platform/win/fast/events/mouse-cursor-image-set-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/fast/events/mouse-cursor-image-set-expected.txt	2015-01-24 07:05:45 UTC (rev 179060)
@@ -0,0 +1,82 @@
+Test that mouse cursors are applied correctly.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Bug 99493
+
+
+Checking cursors with device pixel ratio of 1
+----------------------------------------------
+TEST CASE: 25x25 image at 1x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: 25x25 image at 2x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25 scale=2
+
+TEST CASE: 25x25 image at 1x, 30x30 image at 2x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: 25x25 image at 1.5x, 30x30 image at 5x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25 scale=1.5
+
+TEST CASE: Invalid tiny scale with fallback to pointer
+Cursor Info: type=Hand hotSpot=0,0
+
+TEST CASE: Over-large image with fallback to pointer
+Cursor Info: type=Hand hotSpot=0,0
+
+TEST CASE: 200x200 image at 4x (not over-large in UI pixels)
+Cursor Info: type=Custom hotSpot=0,0 image=200x200 scale=4
+
+TEST CASE: Non-existent image in image-set with fallback to 25x25 image
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: Explicit hotspot at (5,3) logical in 1x and 2x
+Cursor Info: type=Custom hotSpot=5,3 image=25x25
+
+TEST CASE: Explicit hotspot at (7,3) logical in 0.7x and 1.4x - should round to nearest integer
+Cursor Info: type=Custom hotSpot=10,4 image=30x30 scale=1.4
+
+TEST CASE: Implicit hot-spot at (5,4) physical for 1x and (28,3) physical for 2x
+Cursor Info: type=Custom hotSpot=5,4 image=25x25
+
+Checking cursors with device pixel ratio of 1
+----------------------------------------------
+TEST CASE: 25x25 image at 1x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: 25x25 image at 2x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25 scale=2
+
+TEST CASE: 25x25 image at 1x, 30x30 image at 2x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: 25x25 image at 1.5x, 30x30 image at 5x
+Cursor Info: type=Custom hotSpot=0,0 image=25x25 scale=1.5
+
+TEST CASE: Invalid tiny scale with fallback to pointer
+Cursor Info: type=Hand hotSpot=0,0
+
+TEST CASE: Over-large image with fallback to pointer
+Cursor Info: type=Hand hotSpot=0,0
+
+TEST CASE: 200x200 image at 4x (not over-large in UI pixels)
+Cursor Info: type=Custom hotSpot=0,0 image=200x200 scale=4
+
+TEST CASE: Non-existent image in image-set with fallback to 25x25 image
+Cursor Info: type=Custom hotSpot=0,0 image=25x25
+
+TEST CASE: Explicit hotspot at (5,3) logical in 1x and 2x
+Cursor Info: type=Custom hotSpot=5,3 image=25x25
+
+TEST CASE: Explicit hotspot at (7,3) logical in 0.7x and 1.4x - should round to nearest integer
+Cursor Info: type=Custom hotSpot=10,4 image=30x30 scale=1.4
+
+TEST CASE: Implicit hot-spot at (5,4) physical for 1x and (28,3) physical for 2x
+Cursor Info: type=Custom hotSpot=5,4 image=25x25
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to