mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/CSS: Serialize font-variant property closer to spec
It also needs special handling when reading it from CSSStyleDeclaration.
This commit is contained in:
Notes:
github-actions[bot]
2025-02-12 16:01:55 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/62c18d1dec5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3482 Reviewed-by: https://github.com/jdahlin
@@ -2,8 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 46 tests
|
||||
|
||||
36 Pass
|
||||
10 Fail
|
||||
37 Pass
|
||||
9 Fail
|
||||
Pass e.style['font-variant'] = "normal" should set the property value
|
||||
Pass e.style['font-variant'] = "none" should set the property value
|
||||
Pass e.style['font-variant'] = "common-ligatures" should set the property value
|
||||
@@ -49,4 +49,4 @@ Pass e.style['font-variant'] = "ruby" should set the property value
|
||||
Pass e.style['font-variant'] = "sub" should set the property value
|
||||
Pass e.style['font-variant'] = "super" should set the property value
|
||||
Fail e.style['font-variant'] = "common-ligatures discretionary-ligatures historical-ligatures contextual small-caps stylistic(flowing) lining-nums proportional-nums diagonal-fractions ordinal slashed-zero jis78 full-width ruby sub" should set the property value
|
||||
Fail e.style['font-variant'] = "super proportional-width jis83 stacked-fractions tabular-nums oldstyle-nums historical-forms all-small-caps no-contextual no-historical-ligatures no-discretionary-ligatures no-common-ligatures" should set the property value
|
||||
Pass e.style['font-variant'] = "super proportional-width jis83 stacked-fractions tabular-nums oldstyle-nums historical-forms all-small-caps no-contextual no-historical-ligatures no-discretionary-ligatures no-common-ligatures" should set the property value
|
||||
Reference in New Issue
Block a user