Skip to content

Commit 2d9ee18

Browse files
committed
fix: fix error image use transfrom rotate style (Update stacking-context.ts ) #3153
1 parent f2ae901 commit 2d9ee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render/stacking-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export class ElementPaint {
7070
while (parent) {
7171
const croplessEffects = parent.effects.filter((effect) => !isClipEffect(effect));
7272
if (inFlow || parent.container.styles.position !== POSITION.STATIC || !parent.parent) {
73-
effects.unshift(...croplessEffects);
7473
inFlow = [POSITION.ABSOLUTE, POSITION.FIXED].indexOf(parent.container.styles.position) === -1;
7574
if (parent.container.styles.overflowX !== OVERFLOW.VISIBLE) {
7675
const borderBox = calculateBorderBoxPath(parent.curves);
@@ -81,6 +80,7 @@ export class ElementPaint {
8180
);
8281
}
8382
}
83+
effects.unshift(...croplessEffects);
8484
} else {
8585
effects.unshift(...croplessEffects);
8686
}

0 commit comments

Comments
 (0)