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:
parent
3be897a3d5
commit
841ae44392
2 changed files with 11 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue