mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline]
This commit is contained in:
parent
1e73f1f2d2
commit
bfe76f65db
5 changed files with 157 additions and 0 deletions
|
|
@ -2927,6 +2927,17 @@ static const nsCSSPropertyID gMarginSubpropTable[] = {
|
|||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gMarginBlockSubpropTable[] = {
|
||||
eCSSProperty_margin_block_start,
|
||||
eCSSProperty_margin_block_end,
|
||||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gMarginInlineSubpropTable[] = {
|
||||
eCSSProperty_margin_inline_start,
|
||||
eCSSProperty_margin_inline_end,
|
||||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gOutlineSubpropTable[] = {
|
||||
// nsCSSDeclaration.cpp outputs the subproperties in this order.
|
||||
|
|
@ -3023,6 +3034,18 @@ static const nsCSSPropertyID gPaddingSubpropTable[] = {
|
|||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gPaddingBlockSubpropTable[] = {
|
||||
eCSSProperty_padding_block_start,
|
||||
eCSSProperty_padding_block_end,
|
||||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gPaddingInlineSubpropTable[] = {
|
||||
eCSSProperty_padding_inline_start,
|
||||
eCSSProperty_padding_inline_end,
|
||||
eCSSProperty_UNKNOWN
|
||||
};
|
||||
|
||||
static const nsCSSPropertyID gTextDecorationSubpropTable[] = {
|
||||
eCSSProperty_text_decoration_color,
|
||||
eCSSProperty_text_decoration_line,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue