mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 10:05:32 +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:
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue