mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
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:
parent
60640fe38d
commit
6602b1ddb1
Notes:
sideshowbarker
2024-07-16 22:51:10 +09:00
Author: https://github.com/TobyAsE
Commit: 6602b1ddb1
Pull-request: https://github.com/SerenityOS/serenity/pull/21461
Reviewed-by: https://github.com/AtkinsSJ
10 changed files with 23 additions and 23 deletions
|
@ -558,10 +558,10 @@ CSS::BackdropFilter StyleProperties::backdrop_filter() const
|
|||
return BackdropFilter::make_none();
|
||||
}
|
||||
|
||||
Optional<CSS::Position> StyleProperties::position() const
|
||||
Optional<CSS::Positioning> StyleProperties::position() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::Position);
|
||||
return value_id_to_position(value->to_identifier());
|
||||
return value_id_to_positioning(value->to_identifier());
|
||||
}
|
||||
|
||||
bool StyleProperties::operator==(StyleProperties const& other) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue