Closed
Bug 519368
Opened 15 years ago
Closed 15 years ago
<pattern> viewBox not treated correctly
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: martin.hejral, Assigned: longsonr)
Details
Attachments
(5 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; cs; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; cs; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 By my opinion, there can be problem with the temporary memory used when replicate pattern... Reproducible: Always Steps to Reproduce: Please try the SVG test file Actual Results: See screenshot from the FF Expected Results: See screenshot from the Safari
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Assignee | ||
Comment 4•15 years ago
|
||
The test file looks the same to me in Opera and Firefox i.e. a big black square. That's what both the screenshots look like too. What difference am I supposed to be seeing?
Comment 5•15 years ago
|
||
Removing |viewBox| from <pattern> (and translating pattern shape manually), this doesn't happened. The problem of viewBox handling of patterns?
Assignee | ||
Comment 6•15 years ago
|
||
Ahh I see now. Red on black is pretty much invisible on my laptop.
Assignee | ||
Comment 7•15 years ago
|
||
I wonder if this is something to do with overflow? I don't think we support overflow on patterns currently.
Assignee | ||
Comment 8•15 years ago
|
||
Can the testcase be reduced further please?
Assignee | ||
Comment 9•15 years ago
|
||
I think this is right. It is copied from nsSVGMarkerElement::GetViewBoxTransform
Assignee: nobody → longsonr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #419355 -
Flags: review?(jwatt)
Updated•15 years ago
|
Attachment #419355 -
Attachment is patch: true
Attachment #419355 -
Flags: review?(jwatt) → review+
Assignee | ||
Updated•15 years ago
|
Summary: complex SVG <pattern> are incorrectly rendered → <pattern> viewBox not treated correctly
Assignee | ||
Comment 10•15 years ago
|
||
Attachment #419355 -
Attachment is obsolete: true
Assignee | ||
Comment 11•15 years ago
|
||
checked in http://hg.mozilla.org/mozilla-central/rev/540cddf958e3
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•