mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
issue #908 - implement missing parts of CSS mask
This commit is contained in:
parent
7b5e5f85de
commit
b5376e63c5
28 changed files with 574 additions and 449 deletions
|
|
@ -4255,7 +4255,6 @@ StyleAnimationValue::ExtractComputedValue(nsCSSPropertyID aProperty,
|
|||
|
||||
|
||||
}
|
||||
#ifdef MOZ_ENABLE_MASK_AS_SHORTHAND
|
||||
case eCSSProperty_mask_position_x: {
|
||||
const nsStyleImageLayers& layers =
|
||||
static_cast<const nsStyleSVGReset*>(styleStruct)->mMask;
|
||||
|
|
@ -4269,21 +4268,18 @@ StyleAnimationValue::ExtractComputedValue(nsCSSPropertyID aProperty,
|
|||
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
case eCSSProperty_background_size: {
|
||||
const nsStyleImageLayers& layers =
|
||||
static_cast<const nsStyleBackground*>(styleStruct)->mImage;
|
||||
ExtractImageLayerSizePairList(layers, aComputedValue);
|
||||
break;
|
||||
}
|
||||
#ifdef MOZ_ENABLE_MASK_AS_SHORTHAND
|
||||
case eCSSProperty_mask_size: {
|
||||
const nsStyleImageLayers& layers =
|
||||
static_cast<const nsStyleSVGReset*>(styleStruct)->mMask;
|
||||
ExtractImageLayerSizePairList(layers, aComputedValue);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
case eCSSProperty_clip_path: {
|
||||
const nsStyleSVGReset* svgReset =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue