mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/CSS: Implement the scrollbar-color property
This allows the user to set the scrollbar thumb and track colors.
This commit is contained in:
committed by
Alexander Kalenik
parent
285bc005cb
commit
e2d0d8e2b9
Notes:
github-actions[bot]
2025-06-01 22:18:57 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e2d0d8e2b9a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4893
@@ -0,0 +1,18 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 13 tests
|
||||
|
||||
13 Pass
|
||||
Pass e.style['scrollbar-color'] = "initial" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "inherit" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "unset" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "revert" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "auto" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "red green" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "#FF0000 #00FF00" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "currentcolor currentcolor" should set the property value
|
||||
Pass e.style['scrollbar-color'] = "" should not set the property value
|
||||
Pass e.style['scrollbar-color'] = "auto auto" should not set the property value
|
||||
Pass e.style['scrollbar-color'] = "auto currentcolor" should not set the property value
|
||||
Pass e.style['scrollbar-color'] = "red" should not set the property value
|
||||
Pass e.style['scrollbar-color'] = "#FF0000" should not set the property value
|
||||
Reference in New Issue
Block a user