mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Implement FontFace.load() for url() based font sources
This commit is contained in:
parent
b7526a39b0
commit
28f728dfdb
Notes:
sideshowbarker
2024-07-17 01:12:07 +09:00
Author: https://github.com/ADKaster
Commit: 28f728dfdb
Pull-request: https://github.com/SerenityOS/serenity/pull/24339
4 changed files with 123 additions and 6 deletions
5
Tests/LibWeb/Text/expected/css/FontFace-load-urls.txt
Normal file
5
Tests/LibWeb/Text/expected/css/FontFace-load-urls.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
hashSans.family: Hash Sans
|
||||
hashSans.status: unloaded
|
||||
hashSans.status: loaded
|
||||
font load failed because: NetworkError: Failed to load font
|
||||
notExistFont.status: error
|
Loading…
Add table
Add a link
Reference in a new issue