mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-30 11:27:46 +02:00
LibWeb: Propagate errors from ResolvedCSSStyleDeclaration
Though not from ResolvedCSSStyleDeclaration::property() just yet.
This commit is contained in:
committed by
Andreas Kling
parent
ba6d37ee6f
commit
294f5b109f
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user