mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 21:12:26 +00:00
LibWeb: Handle format(woff-variations) etc in @font-face src values
"format(woff-variations)" and pals are supposed to expand like so: "format(woff) tech(variations)". However, since we don't support tech() yet, this patch just adds a small hack where we still treat "woff-variations" as "woff" so that fonts load and get used, even if we don't make use of the variations yet.
This commit is contained in:
parent
2d064116ab
commit
59e2416b61
Notes:
github-actions[bot]
2025-05-23 14:37:58 +00:00
Author: https://github.com/awesomekling
Commit: 59e2416b61
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4856
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta ✅
2 changed files with 12 additions and 6 deletions
|
@ -2,16 +2,15 @@ Harness status: OK
|
|||
|
||||
Found 48 tests
|
||||
|
||||
44 Pass
|
||||
4 Fail
|
||||
48 Pass
|
||||
Pass Load Ahem with format woff
|
||||
Pass Load Ahem with format truetype
|
||||
Pass Load Ahem with format opentype
|
||||
Pass Load Ahem with format woff2
|
||||
Fail Load Ahem with format woff-variations
|
||||
Fail Load Ahem with format truetype-variations
|
||||
Fail Load Ahem with format opentype-variations
|
||||
Fail Load Ahem with format woff2-variations
|
||||
Pass Load Ahem with format woff-variations
|
||||
Pass Load Ahem with format truetype-variations
|
||||
Pass Load Ahem with format opentype-variations
|
||||
Pass Load Ahem with format woff2-variations
|
||||
Pass Do not load Ahem with format xyzwoff
|
||||
Pass Do not load Ahem with format xyztruetype
|
||||
Pass Do not load Ahem with format xyzopentype
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue