mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Support parsing column-span
This commit is contained in:
parent
c113d3fae9
commit
23b4367c9c
Notes:
github-actions[bot]
2024-08-26 07:27:23 +00:00
Author: https://github.com/samfry13
Commit: 23b4367c9c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1156
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 28 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue