mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 11:21:34 +00:00
LibWeb: Support loading FontFaces constructed with binary data
This commit is contained in:
parent
452ffa56dc
commit
60b3436ea3
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/ADKaster
Commit: 60b3436ea3
Pull-request: https://github.com/SerenityOS/serenity/pull/24319
8 changed files with 245 additions and 13 deletions
|
@ -69,6 +69,8 @@ public:
|
|||
|
||||
Optional<ComponentValue> parse_as_component_value();
|
||||
|
||||
Vector<ParsedFontFace::Source> parse_as_font_face_src();
|
||||
|
||||
static NonnullRefPtr<StyleValue> resolve_unresolved_style_value(ParsingContext const&, DOM::Element&, Optional<CSS::Selector::PseudoElement::Type>, PropertyID, UnresolvedStyleValue const&);
|
||||
|
||||
[[nodiscard]] LengthOrCalculated parse_as_sizes_attribute();
|
||||
|
@ -162,7 +164,9 @@ private:
|
|||
Optional<GeneralEnclosed> parse_general_enclosed(TokenStream<ComponentValue>&);
|
||||
|
||||
CSSRule* parse_font_face_rule(TokenStream<ComponentValue>&);
|
||||
Vector<ParsedFontFace::Source> parse_font_face_src(TokenStream<ComponentValue>&);
|
||||
|
||||
template<typename T>
|
||||
Vector<ParsedFontFace::Source> parse_font_face_src(TokenStream<T>&);
|
||||
|
||||
CSSRule* convert_to_rule(NonnullRefPtr<Rule>);
|
||||
CSSMediaRule* convert_to_media_rule(NonnullRefPtr<Rule>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue