mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser.
This should be all parts needed to add a brand new enum keyword including getting the computed style from it...
This commit is contained in:
parent
21f707390d
commit
8e08d8bfd3
14 changed files with 72 additions and 0 deletions
|
|
@ -2009,6 +2009,12 @@ const KTableEntry nsCSSProps::kScrollSnapTypeKTable[] = {
|
|||
{ eCSSKeyword_UNKNOWN, -1 }
|
||||
};
|
||||
|
||||
const KTableEntry nsCSSProps::kScrollbarWidthKTable[] = {
|
||||
{ eCSSKeyword_auto, StyleScrollbarWidth::Auto },
|
||||
{ eCSSKeyword_thin, StyleScrollbarWidth::Thin },
|
||||
{ eCSSKeyword_none, StyleScrollbarWidth::None }
|
||||
};
|
||||
|
||||
const KTableEntry nsCSSProps::kStackSizingKTable[] = {
|
||||
{ eCSSKeyword_ignore, NS_STYLE_STACK_SIZING_IGNORE },
|
||||
{ eCSSKeyword_stretch_to_fit, NS_STYLE_STACK_SIZING_STRETCH_TO_FIT },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue