1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

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
parent ba6d37ee6f
commit 294f5b109f
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;
};