mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add scroll-behavior CSS property
To quote the spec: "User agents may ignore this property." So that is what we do.
This commit is contained in:
Notes:
github-actions[bot]
2026-03-16 08:46:13 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/80a0a39b792 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8434 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,7 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Pass Property scroll-behavior has initial value auto
|
||||
Pass Property scroll-behavior does not inherit
|
||||
@@ -0,0 +1,7 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Pass Property scroll-behavior value 'auto'
|
||||
Pass Property scroll-behavior value 'smooth'
|
||||
@@ -0,0 +1,7 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Pass e.style['scroll-behavior'] = "auto" should set the property value
|
||||
Pass e.style['scroll-behavior'] = "smooth" should set the property value
|
||||
@@ -0,0 +1,9 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 3 tests
|
||||
|
||||
2 Pass
|
||||
1 Fail
|
||||
Pass Make sure the page is ready for animation.
|
||||
Pass Instant scrolling of an element with default scroll-behavior
|
||||
Fail Smooth scrolling of an element with default scroll-behavior
|
||||
Reference in New Issue
Block a user