Closed Bug 1509949 Opened 7 years ago Closed 2 years ago

Make displayed and non-displayed SVG clipPath/mask/filter behave consistently

Categories

(Core :: SVG, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1765202

People

(Reporter: jwatt, Unassigned)

References

Details

Spinning this off from bug 1509394 comment 2. Currently nsSVGUtils::PaintFrameWithEffects refuses to render elements referencing a non-existent or invalid clipPath/mask/filter: https://dxr.mozilla.org/mozilla-central/source/layout/svg/nsSVGUtils.cpp#720 However, that's our non-displayed paint path. If we are using display lists to paint these effects, then we do paint the referencing element for mask and clipPath, but not for filter. (In all cases, for hit-testing we ignore the effect.) We should update the non-displayed path to be consistent.
We should add some WPT tests while doing this.
Type: enhancement → defect
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1765202
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.