mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb/CSS: Implement the caret-color property
This commit is contained in:
committed by
Alexander Kalenik
parent
bf15b7ac12
commit
88d35c547c
Notes:
github-actions[bot]
2025-03-09 18:37:22 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/88d35c547c4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3876
@@ -0,0 +1,16 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
11 Pass
|
||||
Pass Test default caret-color
|
||||
Pass Test caret-color: initial
|
||||
Pass Test caret-color: inherit
|
||||
Pass Test caret-color: auto
|
||||
Pass Test caret-color: currentcolor
|
||||
Pass Test caret-color: lime
|
||||
Pass Reset caret-color: initial
|
||||
Pass Test caret-color: rgb(0, 100, 100)
|
||||
Pass Test caret-color: initial (inherited)
|
||||
Pass Test caret-color: inherit (inherited)
|
||||
Pass Test caret-color: blue (inherited)
|
||||
@@ -0,0 +1,9 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Pass
|
||||
Pass e.style['caret-color'] = "none" should not set the property value
|
||||
Pass e.style['caret-color'] = "invert" should not set the property value
|
||||
Pass e.style['caret-color'] = "50%" should not set the property value
|
||||
Pass e.style['caret-color'] = "red green" should not set the property value
|
||||
@@ -0,0 +1,7 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Pass e.style['caret-color'] = "auto" should set the property value
|
||||
Pass e.style['caret-color'] = "rgba(10, 20, 30, 0.4)" should set the property value
|
||||
Reference in New Issue
Block a user