mirror of
https://github.com/RGBCube/serenity
synced 2025-07-03 00:52:12 +00:00
LibHTML: Rename LayoutNode::style_properties() to LayoutNode::style()
This commit is contained in:
parent
9c0e9a1a20
commit
a7ca719c4e
7 changed files with 21 additions and 21 deletions
|
@ -62,11 +62,11 @@ public:
|
|||
|
||||
virtual LayoutNode& inline_wrapper() { return *this; }
|
||||
|
||||
const StyleProperties& style_properties() const
|
||||
const StyleProperties& style() const
|
||||
{
|
||||
if (m_style_properties)
|
||||
return *m_style_properties;
|
||||
return parent()->style_properties();
|
||||
return parent()->style();
|
||||
}
|
||||
|
||||
void inserted_into(LayoutNode&) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue