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

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
parent 2ced4c4ec7
commit 2dd35916e5
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;