mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Parse the CSS scrollbar-width property
This commit is contained in:
parent
c74fc4c171
commit
8d9e20cb03
Notes:
sideshowbarker
2024-07-17 05:00:08 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 8d9e20cb03
Pull-request: https://github.com/SerenityOS/serenity/pull/23381
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/trflynn89 ✅
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