LibHTML: Implement basic style inheritance

This commit is contained in:
Sergey Bugaev 2019-09-25 12:33:28 +03:00 committed by Andreas Kling
commit 841ae44392
Notes: sideshowbarker 2024-07-19 11:56:32 +09:00
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;