Browser+LibHTML: Change the way computed styles are queried

This commit is contained in:
Matrix89 2020-01-04 03:09:22 +01:00 committed by Andreas Kling
commit 2dd35916e5
Notes: sideshowbarker 2024-07-19 10:20:20 +09:00
4 changed files with 37 additions and 4 deletions

View file

@ -57,6 +57,7 @@ public:
String name() const { return attribute("name"); }
const StyleProperties* resolved_style() const { return m_resolved_style.ptr(); }
RefPtr<StyleProperties> computed_style();
private:
RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;