mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Rename CSS::StyleResolver => StyleComputer
Resolved style is a spec concept that refers to the weird mix of computed style and used style reflected by getComputedStyle(). The purpose of this class is to produce the *computed* style for a given element, so let's call it StyleComputer.
This commit is contained in:
@@ -23,7 +23,7 @@ HTMLIFrameElement::~HTMLIFrameElement()
|
||||
|
||||
RefPtr<Layout::Node> HTMLIFrameElement::create_layout_node()
|
||||
{
|
||||
auto style = document().style_resolver().resolve_style(*this);
|
||||
auto style = document().style_computer().compute_style(*this);
|
||||
return adopt_ref(*new Layout::FrameBox(document(), *this, move(style)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user