mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Browser+LibHTML: Change the way computed styles are queried
This commit is contained in:
parent
2ced4c4ec7
commit
2dd35916e5
Notes:
sideshowbarker
2024-07-19 10:20:20 +09:00
Author: https://github.com/Matrix89
Commit: 2dd35916e5
Pull-request: https://github.com/SerenityOS/serenity/pull/1006
Reviewed-by: https://github.com/awesomekling
4 changed files with 37 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue