LibWeb: Propagate errors from ResolvedCSSStyleDeclaration

Though not from ResolvedCSSStyleDeclaration::property() just yet.
This commit is contained in:
Sam Atkins 2023-05-02 14:52:31 +01:00 committed by Andreas Kling
commit 294f5b109f
Notes: sideshowbarker 2024-07-17 09:37:30 +09:00
2 changed files with 177 additions and 176 deletions

View file

@ -32,7 +32,7 @@ private:
virtual void visit_edges(Cell::Visitor&) override;
RefPtr<StyleValue const> style_value_for_property(Layout::NodeWithStyle const&, PropertyID) const;
ErrorOr<RefPtr<StyleValue const>> style_value_for_property(Layout::NodeWithStyle const&, PropertyID) const;
JS::NonnullGCPtr<DOM::Element> m_element;
};