mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Don't deduplicate font-variation-settings values at parse time
We now only deduplicate and sort the computed value of the `font-variation-settings` property.
This commit is contained in:
parent
6cb0f0fbcd
commit
83ad5ce8a2
Notes:
github-actions[bot]
2025-09-26 10:22:16 +00:00
Author: https://github.com/tcl3
Commit: 83ad5ce8a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6245
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 38 additions and 20 deletions
|
|
@ -2,12 +2,11 @@ Harness status: OK
|
|||
|
||||
Found 7 tests
|
||||
|
||||
5 Pass
|
||||
2 Fail
|
||||
7 Pass
|
||||
Pass e.style['font-variation-settings'] = "normal" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "\"wght\" 700" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "'wght' 700" should set the property value
|
||||
Fail e.style['font-variation-settings'] = "\"wght\" 700, \"XHGT\" 0.7" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "\"wght\" 700, \"XHGT\" 0.7" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "\"a cd\" 0.5" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "\"ab@d\" 0.5" should set the property value
|
||||
Fail e.style['font-variation-settings'] = "'wght' 1e3, 'slnt' -450.0e-1" should set the property value
|
||||
Pass e.style['font-variation-settings'] = "'wght' 1e3, 'slnt' -450.0e-1" should set the property value
|
||||
Loading…
Add table
Add a link
Reference in a new issue