mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
LibWeb/CSS: Serialize CSSColor without relying on RGB
This gives us 140 subtests pass in: css/css-color/parsing/color-valid-color-function.html
This commit is contained in:
parent
9c243caac4
commit
5e62f548db
Notes:
github-actions[bot]
2024-12-11 23:38:21 +00:00
Author: https://github.com/LucasChollet
Commit: 5e62f548db
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2861
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 430 additions and 7 deletions
|
@ -0,0 +1,312 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 306 tests
|
||||
|
||||
140 Pass
|
||||
166 Fail
|
||||
Pass e.style['color'] = "color(srgb 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(srgb-linear -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(srgb-linear 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(a98-rgb -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(a98-rgb 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(rec2020 -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(rec2020 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(prophoto-rgb -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(prophoto-rgb 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(display-p3 -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(display-p3 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0% 0% 0%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 10% 10% 10%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz .2 .2 25%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 0 0 / 1)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0% 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 20% 0 10/0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 20% 0 10/50%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 400% 0 10/50%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 50% -160 160)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 50% -200 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 0 0 / -10%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 0 0 / 110%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 0 0 / 300%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 200 200 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 200 200 200 / 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz -200 -200 -200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz -200 -200 -200 / -200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 200% 200% 200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 200% 200% 200% / 200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0% 0% 0%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 10% 10% 10%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 .2 .2 25%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0 0 0 / 1)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0% 0 0 / 0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 20% 0 10/0.5)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 20% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 400% 0 10/50%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 50% -160 160)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 50% -200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0 0 0 / -10%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0 0 0 / 110%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 0 0 0 / 300%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 200 200 200)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 200 200 200 / 200)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 -200 -200 -200)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 -200 -200 -200 / -200)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 200% 200% 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 200% 200% 200% / 200%)" should set the property value
|
||||
Pass e.style['color'] = "color(xyz-d50 -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d50 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0% 0% 0%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 10% 10% 10%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 .2 .2 25%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 0 0 / 1)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0% 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 20% 0 10/0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 20% 0 10/50%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 400% 0 10/50%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 50% -160 160)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 50% -200 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 0 0 / -10%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 0 0 / 110%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 0 0 / 300%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 200 200 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 200 200 200 / 200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 -200 -200 -200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 -200 -200 -200 / -200)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 200% 200% 200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 200% 200% 200% / 200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 -200% -200% -200% / -200%)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(50%) 50% 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 none none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 none none none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 10% none none / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 none none none / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 0 0 / none)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 calc(infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0 calc(-infinity) 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(NaN) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(0 / 0) 0 0)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 calc(50% + (sign(1em - 10px) * 10%)) 0 0 / 0.5)" should set the property value
|
||||
Fail e.style['color'] = "color(xyz-d65 0.5 0 0 / calc(50% + (sign(1em - 10px) * 10%)))" should set the property value
|
Loading…
Add table
Add a link
Reference in a new issue