mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
fonts: Add support for WOFF2 and properly load web fonts from @imports (#31879)
This change also makes two fixes that are necessary to get WOFF2 fonts working: 1. It adds support for loading web fonts from stylesheets included via @import rules. 2. It ensure that when web fonts are loaded synchronusly they invalidate the font cache. This led to incorrect font rendering when running tests before. Fixes #31598.
This commit is contained in:
parent
b55d0a2053
commit
8dece05980
100 changed files with 196 additions and 218 deletions
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-005.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-extraneous-data-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-overlap-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-overlap-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[blocks-overlap-003.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[datatypes-alt-255uint16-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[datatypes-invalid-base128-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[datatypes-invalid-base128-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[datatypes-invalid-base128-003.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/directory-knowntags-001.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/directory-knowntags-001.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[directory-knowntags-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[directory-mismatched-tables-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[header-length-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[header-length-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[header-numTables-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[header-signature-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[header-totalsfntsize-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-bad-origlength-loca-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-bad-origlength-loca-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-brotli-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-decompressed-length-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-decompressed-length-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-decompressed-length-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-decompressed-length-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-extraneous-data-001.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/tabledata-glyf-bbox-001.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/tabledata-glyf-bbox-001.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[tabledata-glyf-bbox-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-glyf-bbox-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-glyf-bbox-003.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[tabledata-glyf-origlength-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[tabledata-glyf-origlength-002.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[tabledata-glyf-origlength-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-non-zero-loca-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-transform-bad-flag-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-transform-bad-flag-002.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[tabledata-transform-hmtx-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[tabledata-transform-hmtx-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-transform-hmtx-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[tabledata-transform-hmtx-004.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/valid-005.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/valid-005.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[valid-005.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/valid-006.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/valid-006.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[valid-006.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/valid-007.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/valid-007.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[valid-007.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/WOFF2/valid-008.xht.ini
Normal file
2
tests/wpt/meta/css/WOFF2/valid-008.xht.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[valid-008.xht]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-text/shaping/shaping-012.html.ini
Normal file
2
tests/wpt/meta/css/css-text/shaping/shaping-012.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[shaping-012.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-text/shaping/shaping-013.html.ini
Normal file
2
tests/wpt/meta/css/css-text/shaping/shaping-013.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[shaping-013.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue