mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
LibWeb: Support list-style-position
This moves the ::marker inside of <summary> actually inside. :^)
This commit is contained in:
parent
ee7282cbe4
commit
293ece2292
10 changed files with 34 additions and 8 deletions
|
@ -711,6 +711,12 @@ Optional<CSS::ListStyleType> StyleProperties::list_style_type() const
|
|||
return value_id_to_list_style_type(value->to_identifier());
|
||||
}
|
||||
|
||||
Optional<CSS::ListStylePosition> StyleProperties::list_style_position() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::ListStylePosition);
|
||||
return value_id_to_list_style_position(value->to_identifier());
|
||||
}
|
||||
|
||||
Optional<CSS::Overflow> StyleProperties::overflow_x() const
|
||||
{
|
||||
return overflow(CSS::PropertyID::OverflowX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue