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:
parent
86ad896f35
commit
5fc6bff582
6 changed files with 24 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue