mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
LibWeb: Split of compute font logic in StyleComputer
This commit is contained in:
parent
cc1f7d385c
commit
b05fe22d39
2 changed files with 44 additions and 36 deletions
|
@ -91,6 +91,8 @@ public:
|
|||
|
||||
void load_fonts_from_sheet(CSSStyleSheet const&);
|
||||
|
||||
RefPtr<Gfx::Font const> compute_font_for_style_values(DOM::Element const* element, Optional<CSS::Selector::PseudoElement> pseudo_element, StyleValue const& font_family, StyleValue const& font_size, StyleValue const& font_style, StyleValue const& font_weight, StyleValue const& font_stretch) const;
|
||||
|
||||
struct AnimationKey {
|
||||
CSS::CSSStyleDeclaration const* source_declaration;
|
||||
DOM::Element const* element;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue