Issue #2136 - Part 1: Implement CSS inset property

This commit is contained in:
FranklinDM 2023-03-05 00:24:59 +08:00 committed by roytam1
commit 21d468ee65
7 changed files with 59 additions and 8 deletions

View file

@ -2902,6 +2902,15 @@ static const nsCSSPropertyID gFontVariantSubpropTable[] = {
eCSSProperty_UNKNOWN
};
static const nsCSSPropertyID gInsetSubpropTable[] = {
// Code relies on these being in top-right-bottom-left order.
eCSSProperty_top,
eCSSProperty_right,
eCSSProperty_bottom,
eCSSProperty_left,
eCSSProperty_UNKNOWN
};
static const nsCSSPropertyID gListStyleSubpropTable[] = {
eCSSProperty_list_style_type,
eCSSProperty_list_style_image,