1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibWeb: Add 'object-fit' property

This patch adds support for the 'object-fit' CSS property. :^)
This commit is contained in:
Tobias Christiansen 2023-08-01 20:06:50 +02:00 committed by Sam Atkins
parent 86ad896f35
commit 5fc6bff582
6 changed files with 24 additions and 0 deletions

View file

@ -106,6 +106,7 @@ public:
static CSS::BorderCollapse border_collapse() { return CSS::BorderCollapse::Separate; }
static Vector<Vector<String>> grid_template_areas() { return {}; }
static CSS::Time transition_delay() { return CSS::Time::make_seconds(0); }
static CSS::ObjectFit object_fit() { return CSS::ObjectFit::Fill; }
};
enum class BackgroundSize {