mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 08:48:57 +00:00
LibWeb/CSS: Use default constructor for initial inset
value
This already sets everything to auto.
This commit is contained in:
parent
7244c6ddf9
commit
70609cbf4d
Notes:
github-actions[bot]
2025-09-04 12:32:50 +00:00
Author: https://github.com/AtkinsSJ
Commit: 70609cbf4d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6043
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ public:
|
|||
static CSS::TextAnchor text_anchor() { return CSS::TextAnchor::Start; }
|
||||
static CSS::Length border_radius() { return Length::make_px(0); }
|
||||
static Variant<CSS::VerticalAlign, CSS::LengthPercentage> vertical_align() { return CSS::VerticalAlign::Baseline; }
|
||||
static CSS::LengthBox inset() { return { CSS::Length::make_auto(), CSS::Length::make_auto(), CSS::Length::make_auto(), CSS::Length::make_auto() }; }
|
||||
static CSS::LengthBox inset() { return {}; }
|
||||
static CSS::LengthBox margin() { return { CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0) }; }
|
||||
static CSS::LengthBox padding() { return { CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0) }; }
|
||||
static CSS::Size width() { return CSS::Size::make_auto(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue