LibWeb: Rename "position" enum to "positioning"

The postitioning enum values are used by the position CSS property.
Unfortunately, the prior naming clashes with the CSS Values-4 type
named position, which will be implemented in a later commit.
This commit is contained in:
Tobias Christiansen 2023-10-27 15:17:36 +02:00 committed by Sam Atkins
commit 6602b1ddb1
Notes: sideshowbarker 2024-07-16 22:51:10 +09:00
10 changed files with 23 additions and 23 deletions

View file

@ -35,7 +35,7 @@ bool Paintable::is_positioned() const
// grid items with z_index should behave as if position were "relative"
return true;
}
return computed_values().position() != CSS::Position::Static;
return computed_values().position() != CSS::Positioning::Static;
}
void Paintable::set_dom_node(JS::GCPtr<DOM::Node> dom_node)