mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibHTML: Implement basic style inheritance
This commit is contained in:
parent
3be897a3d5
commit
841ae44392
Notes:
sideshowbarker
2024-07-19 11:56:32 +09:00
Author: https://github.com/bugaevc
Commit: 841ae44392
Pull-request: https://github.com/SerenityOS/serenity/pull/609
Reviewed-by: https://github.com/awesomekling ✅
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