mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Implement "preserves overrides" property of editing commands
This commit is contained in:
parent
e21ee10b3c
commit
2b6a14c5ee
Notes:
github-actions[bot]
2025-01-10 22:38:22 +00:00
Author: https://github.com/gmta
Commit: 2b6a14c5ee
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3216
9 changed files with 315 additions and 80 deletions
|
@ -160,6 +160,8 @@ public:
|
|||
void load_fonts_from_sheet(CSSStyleSheet&);
|
||||
void unload_fonts_from_sheet(CSSStyleSheet&);
|
||||
|
||||
static CSSPixels default_user_font_size();
|
||||
static CSSPixelFraction absolute_size_mapping(Keyword);
|
||||
RefPtr<Gfx::FontCascadeList const> compute_font_for_style_values(DOM::Element const* element, Optional<CSS::Selector::PseudoElement::Type> pseudo_element, CSSStyleValue const& font_family, CSSStyleValue const& font_size, CSSStyleValue const& font_style, CSSStyleValue const& font_weight, CSSStyleValue const& font_stretch, int math_depth = 0) const;
|
||||
|
||||
void set_viewport_rect(Badge<DOM::Document>, CSSPixelRect const& viewport_rect) { m_viewport_rect = viewport_rect; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue