mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
Tests: Import some CSS cursor tests
This commit is contained in:
committed by
Andreas Kling
parent
f943e0114e
commit
3216da062a
Notes:
github-actions[bot]
2025-02-28 12:52:32 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/3216da062a2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3644
@@ -0,0 +1,41 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 36 tests
|
||||
|
||||
36 Pass
|
||||
Pass Property cursor value 'auto'
|
||||
Pass Property cursor value 'default'
|
||||
Pass Property cursor value 'none'
|
||||
Pass Property cursor value 'context-menu'
|
||||
Pass Property cursor value 'help'
|
||||
Pass Property cursor value 'pointer'
|
||||
Pass Property cursor value 'progress'
|
||||
Pass Property cursor value 'wait'
|
||||
Pass Property cursor value 'cell'
|
||||
Pass Property cursor value 'crosshair'
|
||||
Pass Property cursor value 'text'
|
||||
Pass Property cursor value 'vertical-text'
|
||||
Pass Property cursor value 'alias'
|
||||
Pass Property cursor value 'copy'
|
||||
Pass Property cursor value 'move'
|
||||
Pass Property cursor value 'no-drop'
|
||||
Pass Property cursor value 'not-allowed'
|
||||
Pass Property cursor value 'grab'
|
||||
Pass Property cursor value 'grabbing'
|
||||
Pass Property cursor value 'e-resize'
|
||||
Pass Property cursor value 'n-resize'
|
||||
Pass Property cursor value 'ne-resize'
|
||||
Pass Property cursor value 'nw-resize'
|
||||
Pass Property cursor value 's-resize'
|
||||
Pass Property cursor value 'se-resize'
|
||||
Pass Property cursor value 'sw-resize'
|
||||
Pass Property cursor value 'w-resize'
|
||||
Pass Property cursor value 'ew-resize'
|
||||
Pass Property cursor value 'ns-resize'
|
||||
Pass Property cursor value 'nesw-resize'
|
||||
Pass Property cursor value 'nwse-resize'
|
||||
Pass Property cursor value 'col-resize'
|
||||
Pass Property cursor value 'row-resize'
|
||||
Pass Property cursor value 'all-scroll'
|
||||
Pass Property cursor value 'zoom-in'
|
||||
Pass Property cursor value 'zoom-out'
|
||||
@@ -0,0 +1,11 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Pass
|
||||
Pass e.style['cursor'] = "en-resize" should not set the property value
|
||||
Pass e.style['cursor'] = "url(\"https://example.com/\") alias" should not set the property value
|
||||
Pass e.style['cursor'] = "1 2 url(\"https://example.com/\"), copy" should not set the property value
|
||||
Pass e.style['cursor'] = "url(\"https://example.com/\"), url(\"https://example.com/\") 3, move" should not set the property value
|
||||
Pass e.style['cursor'] = "url(\"https://example.com/\") 1px 2px, copy" should not set the property value
|
||||
Pass e.style['cursor'] = "url(\"https://example.com/\"), url(\"https://example.com/\") 3% 4%, move" should not set the property value
|
||||
@@ -0,0 +1,48 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 42 tests
|
||||
|
||||
36 Pass
|
||||
6 Fail
|
||||
Pass e.style['cursor'] = "auto" should set the property value
|
||||
Pass e.style['cursor'] = "default" should set the property value
|
||||
Pass e.style['cursor'] = "none" should set the property value
|
||||
Pass e.style['cursor'] = "context-menu" should set the property value
|
||||
Pass e.style['cursor'] = "help" should set the property value
|
||||
Pass e.style['cursor'] = "pointer" should set the property value
|
||||
Pass e.style['cursor'] = "progress" should set the property value
|
||||
Pass e.style['cursor'] = "wait" should set the property value
|
||||
Pass e.style['cursor'] = "cell" should set the property value
|
||||
Pass e.style['cursor'] = "crosshair" should set the property value
|
||||
Pass e.style['cursor'] = "text" should set the property value
|
||||
Pass e.style['cursor'] = "vertical-text" should set the property value
|
||||
Pass e.style['cursor'] = "alias" should set the property value
|
||||
Pass e.style['cursor'] = "copy" should set the property value
|
||||
Pass e.style['cursor'] = "move" should set the property value
|
||||
Pass e.style['cursor'] = "no-drop" should set the property value
|
||||
Pass e.style['cursor'] = "not-allowed" should set the property value
|
||||
Pass e.style['cursor'] = "grab" should set the property value
|
||||
Pass e.style['cursor'] = "grabbing" should set the property value
|
||||
Pass e.style['cursor'] = "e-resize" should set the property value
|
||||
Pass e.style['cursor'] = "n-resize" should set the property value
|
||||
Pass e.style['cursor'] = "ne-resize" should set the property value
|
||||
Pass e.style['cursor'] = "nw-resize" should set the property value
|
||||
Pass e.style['cursor'] = "s-resize" should set the property value
|
||||
Pass e.style['cursor'] = "se-resize" should set the property value
|
||||
Pass e.style['cursor'] = "sw-resize" should set the property value
|
||||
Pass e.style['cursor'] = "w-resize" should set the property value
|
||||
Pass e.style['cursor'] = "ew-resize" should set the property value
|
||||
Pass e.style['cursor'] = "ns-resize" should set the property value
|
||||
Pass e.style['cursor'] = "nesw-resize" should set the property value
|
||||
Pass e.style['cursor'] = "nwse-resize" should set the property value
|
||||
Pass e.style['cursor'] = "col-resize" should set the property value
|
||||
Pass e.style['cursor'] = "row-resize" should set the property value
|
||||
Pass e.style['cursor'] = "all-scroll" should set the property value
|
||||
Pass e.style['cursor'] = "zoom-in" should set the property value
|
||||
Pass e.style['cursor'] = "zoom-out" should set the property value
|
||||
Fail e.style['cursor'] = "url(\"https://example.com/\"), alias" should set the property value
|
||||
Fail e.style['cursor'] = "url(\"https://example.com/\") 1 calc(2 + 0), copy" should set the property value
|
||||
Fail e.style['cursor'] = "url(\"https://example.com/\"), url(\"https://example.com/\") 3 -4, move" should set the property value
|
||||
Fail e.style['cursor'] = "url(\"https://example.com/\") 5 6, grab" should set the property value
|
||||
Fail e.style['cursor'] = "image-set(\"https://example.com/\" 1x) 5 6, grab" should set the property value
|
||||
Fail e.style['cursor'] = "image-set(\"https://example.com/\" 1x, \"https://example.com/highres\" 2x) 5 6, grab" should set the property value
|
||||
Reference in New Issue
Block a user