1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 13:27:34 +00:00

LibHTML: Implement basic style inheritance

This commit is contained in:
Sergey Bugaev 2019-09-25 12:33:28 +03:00 committed by Andreas Kling
parent 3be897a3d5
commit 841ae44392
2 changed files with 11 additions and 2 deletions

View file

@ -18,7 +18,7 @@ public:
Document& document() { return m_document; }
const Document& document() const { return m_document; }
StyleProperties resolve_style(const Element&);
StyleProperties resolve_style(const Element&, const StyleProperties* parent_properties) const;
NonnullRefPtrVector<StyleRule> collect_matching_rules(const Element&) const;