Separating nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter

RESOLVED DUPLICATE of bug 1295094

Status

()

Core
Layout
RESOLVED DUPLICATE of bug 1295094
2 years ago
2 years ago

People

(Reporter: u459114, Assigned: u459114)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 years ago
Bug 1234485 comment 5:
mstange wrote:
I recommend starting by separating nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter. nsDisplayMask would be responsible for the combined rendering of both clip-path and mask, regardless of whether they're CSS or SVG clip-paths / masks. Then you can use LAYER_INACTIVE / LAYER_ACTIVE for nsDisplayMask, and LAYER_SVG_EFFECTS for nsDisplayFilter. If an element has both a clip-path / mask and a filter, the separation might conceivably hurt performance a bit, but I don't think that's worth worrying about much.

And I agree with it. Create this bug for this refactory.
(Assignee)

Updated

2 years ago
Depends on: 1295094
(Assignee)

Updated

2 years ago
Blocks: 1295095
(Assignee)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1295094
You need to log in before you can comment on or make changes to this bug.