mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibWeb: Create IdentifierStyleValue for fit-content size declarations
This doesn't quite resolve the FIXME, because we still don't support the fit-content(percentage) syntax.
This commit is contained in:
committed by
Andrew Kaster
parent
33a3f0e134
commit
da060eedb1
@@ -230,6 +230,8 @@ static NonnullRefPtr<StyleValue const> style_value_for_size(Size const& size)
|
||||
if (size.is_max_content())
|
||||
return IdentifierStyleValue::create(ValueID::MaxContent);
|
||||
// FIXME: Support fit-content(<length>)
|
||||
if (size.is_fit_content())
|
||||
return IdentifierStyleValue::create(ValueID::FitContent);
|
||||
TODO();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user