LibWeb: Support parsing column-span

This commit is contained in:
Samuel Fry 2024-08-20 20:23:55 -04:00 committed by Sam Atkins
commit 23b4367c9c
Notes: github-actions[bot] 2024-08-26 07:27:23 +00:00
7 changed files with 28 additions and 1 deletions

View file

@ -692,6 +692,12 @@ Optional<CSS::Clear> StyleProperties::clear() const
return keyword_to_clear(value->to_keyword());
}
Optional<CSS::ColumnSpan> StyleProperties::column_span() const
{
auto value = property(CSS::PropertyID::ColumnSpan);
return keyword_to_column_span(value->to_keyword());
}
StyleProperties::ContentDataAndQuoteNestingLevel StyleProperties::content(DOM::Element& element, u32 initial_quote_nesting_level) const
{
auto value = property(CSS::PropertyID::Content);