LibWeb: Parse and compute text-underline-offset property

This commit is contained in:
Callum Law 2025-09-11 22:00:19 +12:00 committed by Tim Ledbetter
commit 858450922b
Notes: github-actions[bot] 2025-09-12 06:08:23 +00:00
17 changed files with 771 additions and 4 deletions

View file

@ -205,6 +205,7 @@ public:
static NonnullRefPtr<StyleValue const> compute_value_of_property(PropertyID, NonnullRefPtr<StyleValue const> const& specified_value, Function<NonnullRefPtr<StyleValue const>(PropertyID)> const& get_property_specified_value, PropertyValueComputationContext const&);
static NonnullRefPtr<StyleValue const> compute_border_or_outline_width(NonnullRefPtr<StyleValue const> const& specified_value, NonnullRefPtr<StyleValue const> const& style_specified_value, PropertyValueComputationContext const&);
static NonnullRefPtr<StyleValue const> compute_opacity(NonnullRefPtr<StyleValue const> const& specified_value, PropertyValueComputationContext const&);
static NonnullRefPtr<StyleValue const> compute_text_underline_offset(NonnullRefPtr<StyleValue const> const& specified_value, PropertyValueComputationContext const&);
private:
virtual void visit_edges(Visitor&) override;