Closed Bug 1437660 Opened 7 years ago Closed 11 months ago

Adding an element inside an SVG with clip-path and viewBox changes the effective clip of other elements

Categories

(Core :: SVG, defect, P3)

58 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox58 --- affected
firefox59 --- affected
firefox60 --- affected

People

(Reporter: persona, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180209193630 Steps to reproduce: Comparing two elementary SVG files which only differ by rectangle. Both files have the same clip-path and viewBox set. Actual results: The two renderings are clipped differently. Expected results: The only difference visual should be the presence/absence of the added rectangle.
Here is the diff between the two SVG (each is 18 lines). 13a14 > <rect x="10" y="10" width="10" height="10" fill="#00789A"/>
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180214224814 Managed to reproduce this issue on Firefox 58.0.2, Firefox Beta 59.0b9 and Nightly 60.0a1(2018-02-14) on Windows 10 x64.
Status: UNCONFIRMED → NEW
Component: Untriaged → SVG
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
Severity: normal → S3

Seems OK now.

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: