blob: 59f3f907790beeb4e99443ee18281755e1fd6f6f [file] [log] [blame]
Test that mouse cursors are applied correctly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Bug 100550
TEST CASE: Implicit default cursor
Cursor Info: type=IBeam hotSpot=0,0
TEST CASE: Explicit default
Cursor Info: type=Pointer hotSpot=0,0
TEST CASE: Explicit auto
Cursor Info: type=IBeam hotSpot=0,0
TEST CASE: No cursor
Cursor Info: type=None hotSpot=0,0
TEST CASE: Pointer
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: -webkit-grabbing
Cursor Info: type=Grabbing hotSpot=0,0
TEST CASE: Existing 25x25 image
Cursor Info: type=IBeam hotSpot=0,0
TEST CASE: Invalid URL with fallback to pointer
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: Invalid with fallback to 25x25 image
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Image with explicit hot spot at (0,0)
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Image with explicit hot spot at (20,10)
Cursor Info: type=Custom hotSpot=20,10 image=25x25
TEST CASE: Image with explicit hot spot at (-1,-1)
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Image with explicit hot spot outside image at (30,30)
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Image with implicit hot spot at (5,4)
Cursor Info: type=Custom hotSpot=5,4 image=25x25
TEST CASE: Image with explicit hot spot at (20,10) overriding implicit hot spot
Cursor Info: type=Custom hotSpot=20,10 image=25x25
TEST CASE: Image with implicit hot spot outside image at (35,4)
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Over large image with fallback to pointer
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: SVG cursor
Cursor Info: type=Custom hotSpot=0,0 image=25x25
TEST CASE: Multiple invalid cursors with fallback to pointer
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: Nonexistent SVG cursor with fallback to pointer
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: A link with default cursor
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: Link with default cursor overriding wait
Cursor Info: type=Hand hotSpot=0,0
TEST CASE: Wait cursor which should not be affected by unknown cursor rule
Cursor Info: type=Wait hotSpot=0,0
PASS successfullyParsed is true
TEST COMPLETE