1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibWeb: Add plumbing for the new 'object-position' property

Now, the 'object-position' property gets properly parsed and is
provided to the rest of the ecosystem.
In the parser we use the same parsing as for the background-position,
which is not entirely correct but almost a <position>.
This commit is contained in:
Tobias Christiansen 2023-10-16 13:52:51 +02:00 committed by Sam Atkins
parent 7e11de272f
commit d00c7e55a5
3 changed files with 14 additions and 0 deletions

View file

@ -117,6 +117,7 @@ public:
Vector<Vector<String>> grid_template_areas() const;
String grid_area() const;
Optional<CSS::ObjectFit> object_fit() const;
CSS::PositionStyleValue const& object_position() const;
Optional<CSS::TableLayout> table_layout() const;
Vector<CSS::Transformation> transformations() const;