Closed
Bug 779035
Opened 12 years ago
Closed 12 years ago
SVG mask is clipped when text zoom is applied
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox14 | --- | unaffected |
firefox15 | --- | unaffected |
firefox16 | - | affected |
firefox17 | --- | affected |
People
(Reporter: birtles, Assigned: jwatt)
References
Details
(Keywords: regression)
Attachments
(5 files, 1 obsolete file)
Under Aurora (FF16) and newer I'm seeing clipping taking place when viewing the following mask test cases and text zoom applied. Specifically I have one level of text zoom applied (i.e. Ctrl+0 followed by Ctrl++)
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/masking-intro-01-f.html
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/masking-mask-01-b.html
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/masking-opacity-01-b.html
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/masking-path-01-b.html
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/masking-path-11-b.html
Looks fine in Beta (FF15).
I suspect this is not just isolated to text zoom but other transformations since I see similar problems by navigating to:
http://people.mozilla.org/~bbirtles/pres/fxdevcon-2012/#14.3
And then pressing the right arrow (to advance to the next bullet point).
In this case the SVG has a scale transform applied to it.
For this final test case if I Alt+Tab back and forwards the result is correct suggesting this is an invalidation bug and perhaps unrelated?
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
tracking-firefox16:
--- → ?
Assignee | ||
Comment 5•12 years ago
|
||
This regressed when the patch for bug 766429 was checked in, so it looks like we're not calculating the correct visual overflow rect for masks when zoomed in.
Blocks: 766429
Reporter | ||
Comment 6•12 years ago
|
||
(In reply to Brian Birtles (:birtles) from comment #0)
> I suspect this is not just isolated to text zoom but other transformations
> since I see similar problems by navigating to:
> http://people.mozilla.org/~bbirtles/pres/fxdevcon-2012/#14.3
> And then pressing the right arrow (to advance to the next bullet point).
> In this case the SVG has a scale transform applied to it.
>
> For this final test case if I Alt+Tab back and forwards the result is
> correct suggesting this is an invalidation bug and perhaps unrelated?
I've split this off into separate bug 779403 as requested.
Updated•12 years ago
|
Assignee | ||
Comment 7•12 years ago
|
||
Seems like this is fixed in svg.display-list.painting.enabled is set to true (now the default), but broken when set to false. Not sure if this is worth tracking down for FF16 given than zooming is required to trigger the bug. Maybe we should just wontfix this?
Comment 8•12 years ago
|
||
Not sure about wontfixing, but we agree that this use case seems uncommon. Untracking for release.
Reporter | ||
Comment 9•12 years ago
|
||
I'm not sure if it's quite the same root cause but I'm seeing somewhat similar issues rendering the Firefox logo on FF16 with direct 2D enabled even without any text zoom applied:
http://upload.wikimedia.org/wikipedia/en/e/e3/Firefox-logo.svg
Reporter | ||
Comment 10•12 years ago
|
||
The issue with the Firefox logo is that the path representing the countries towards the top of the planet has a clip path applied and the clip path region seems to be incorrect. On my work PC the entire path is clipped and on my home PC only the right two-thirds of the countries appear. The left-hand third is clipped.
Reporter | ||
Comment 11•12 years ago
|
||
Rendering on FF16 with direct2d enabled.
Reporter | ||
Updated•12 years ago
|
OS: All → Windows 7
Reporter | ||
Comment 12•12 years ago
|
||
Oh, I just realised that the FF logo still renders incorrectly with svg.display-list.painting.enabled set to true and direct2d enabled so this is a separate bug.
Reporter | ||
Updated•12 years ago
|
Attachment #667271 -
Attachment is obsolete: true
Reporter | ||
Comment 13•12 years ago
|
||
(In reply to Brian Birtles (:birtles) from comment #12)
> Oh, I just realised that the FF logo still renders incorrectly with
> svg.display-list.painting.enabled set to true and direct2d enabled so this
> is a separate bug.
Filed bug 797231.
Comment 14•12 years ago
|
||
In which release did svg.display-list.painting.enabled start defaulting to true? I still see this bug in FF16.
Comment 15•12 years ago
|
||
Seems to work now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•