mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #2136 - Part 1: Implement CSS inset property
This commit is contained in:
parent
ad929c5dd5
commit
21d468ee65
7 changed files with 59 additions and 8 deletions
|
|
@ -1045,6 +1045,7 @@ protected:
|
|||
bool ParseFontSrc(nsCSSValue& aValue);
|
||||
bool ParseFontSrcFormat(InfallibleTArray<nsCSSValue>& values);
|
||||
bool ParseFontRanges(nsCSSValue& aValue);
|
||||
bool ParseInset();
|
||||
bool ParseListStyle();
|
||||
bool ParseListStyleType(nsCSSValue& aValue);
|
||||
bool ParseMargin();
|
||||
|
|
@ -11815,6 +11816,8 @@ CSSParserImpl::ParsePropertyByFunction(nsCSSPropertyID aPropID)
|
|||
return ParseInitialLetter();
|
||||
case eCSSProperty_justify_items:
|
||||
return ParseJustifyItems();
|
||||
case eCSSProperty_inset:
|
||||
return ParseInset();
|
||||
case eCSSProperty_list_style:
|
||||
return ParseListStyle();
|
||||
case eCSSProperty_margin:
|
||||
|
|
@ -15243,6 +15246,19 @@ CSSParserImpl::ParseListStyle()
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
CSSParserImpl::ParseInset()
|
||||
{
|
||||
static const nsCSSPropertyID kInsetSideIDs[] = {
|
||||
eCSSProperty_top,
|
||||
eCSSProperty_right,
|
||||
eCSSProperty_bottom,
|
||||
eCSSProperty_left
|
||||
};
|
||||
|
||||
return ParseBoxProperties(kInsetSideIDs);
|
||||
}
|
||||
|
||||
bool
|
||||
CSSParserImpl::ParseListStyleType(nsCSSValue& aValue)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue