mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibWeb: Parse the CSS scrollbar-width property
This commit is contained in:
parent
c74fc4c171
commit
8d9e20cb03
7 changed files with 37 additions and 0 deletions
|
@ -1110,4 +1110,10 @@ QuotesData StyleProperties::quotes() const
|
|||
return InitialValues::quotes();
|
||||
}
|
||||
|
||||
Optional<CSS::ScrollbarWidth> StyleProperties::scrollbar_width() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::ScrollbarWidth);
|
||||
return value_id_to_scrollbar_width(value->to_identifier());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue