mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Rename CSS::StyleProperties => CSS::ComputedProperties
Now that StyleProperties is only used to hold computed properties, let's name it ComputedProperties.
This commit is contained in:
committed by
Andreas Kling
parent
ed7f4664c2
commit
c1cad8fa0e
@@ -175,12 +175,12 @@ WebIDL::ExceptionOr<void> HTMLCanvasElement::set_height(WebIDL::UnsignedLong val
|
||||
return {};
|
||||
}
|
||||
|
||||
GC::Ptr<Layout::Node> HTMLCanvasElement::create_layout_node(CSS::StyleProperties style)
|
||||
GC::Ptr<Layout::Node> HTMLCanvasElement::create_layout_node(CSS::ComputedProperties style)
|
||||
{
|
||||
return heap().allocate<Layout::CanvasBox>(document(), *this, move(style));
|
||||
}
|
||||
|
||||
void HTMLCanvasElement::adjust_computed_style(CSS::StyleProperties& style)
|
||||
void HTMLCanvasElement::adjust_computed_style(CSS::ComputedProperties& style)
|
||||
{
|
||||
// https://drafts.csswg.org/css-display-3/#unbox
|
||||
if (style.display().is_contents())
|
||||
|
||||
Reference in New Issue
Block a user