mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibWeb/CSS: Parse and use tech() in @font-face { src }
This commit is contained in:
parent
5b42f8d707
commit
d611806f18
Notes:
github-actions[bot]
2025-06-05 11:39:21 +00:00
Author: https://github.com/AtkinsSJ
Commit: d611806f18
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4983
Reviewed-by: https://github.com/shannonbooth
10 changed files with 131 additions and 35 deletions
|
@ -20,8 +20,8 @@ class ParsedFontFace {
|
|||
public:
|
||||
struct Source {
|
||||
Variant<FlyString, URL> local_or_url;
|
||||
// FIXME: Do we need to keep this around, or is it only needed to discard unwanted formats during parsing?
|
||||
Optional<FlyString> format;
|
||||
Vector<FontTech> tech;
|
||||
};
|
||||
|
||||
static Vector<Source> sources_from_style_value(CSSStyleValue const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue