Closed
Bug 539576
Opened 16 years ago
Closed 16 years ago
SVGTransform matrix changes still not live in all circumstances
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: longsonr, Assigned: longsonr)
References
Details
Attachments
(1 file, 1 obsolete file)
|
9.27 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
setRotate, setSkewX, setSkewY create a new matrix so any references no longer update.
setting a value on the transform's matrix needs to turn the transform into a matrix transform.
| Assignee | ||
Comment 1•16 years ago
|
||
With this patch (together with bug 512636) we pass the following tests:
http://dev.w3.org/SVG/profiles/1.1F2/test/svg/coords-dom-01-f.svg
http://dev.w3.org/SVG/profiles/1.1F2/test/svg/coords-dom-02-f.svg
Depends on: 512636
| Assignee | ||
Updated•16 years ago
|
Summary: SVGTransform still not live in all circumstances → SVGTransform matrix changes still not live in all circumstances
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → longsonr
| Assignee | ||
Comment 2•16 years ago
|
||
Attachment #421525 -
Attachment is obsolete: true
Attachment #421596 -
Flags: review?(jwatt)
| Assignee | ||
Comment 3•16 years ago
|
||
Jonathan, can you take up with the SVG WG what the correct thing to do is if you set a skewX or skewY of 90 or some other value that would cause us to store infinities in a matrix?
| Assignee | ||
Comment 4•16 years ago
|
||
BTW I think this can land without answering comment 3 really, providing it gets an r+ of course. After all we test for infinities throughout the code and this just adds some missing tests and returns the same code.
Comment 5•16 years ago
|
||
Comment on attachment 421596 [details] [diff] [review]
fix tests and prevent infinities
r=jwatt
I think I'd rather "eps" and "epsilon" were called "tolerance", and perhaps add a short comment stating what it's for/why it's necessary for the uninitiated. Up to you though.
Attachment #421596 -
Flags: review?(jwatt) → review+
Comment 6•16 years ago
|
||
I also like the fact that the SVGMatrix object now doesn't change - it's more consistent with other parts of SVG (and more efficient in this case). :-)
Comment 7•16 years ago
|
||
I send a message to the SVG WG as requested in comment 3:
http://lists.w3.org/Archives/Public/www-svg/2010Jan/0085.html
| Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #5)
> I think I'd rather "eps" and "epsilon" were called "tolerance", and perhaps add
> a short comment stating what it's for/why it's necessary for the uninitiated.
> Up to you though.
Done.
pushed http://hg.mozilla.org/mozilla-central/rev/5f41d14731bc
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
| Assignee | ||
Comment 9•16 years ago
|
||
reftest failures.
Status: RESOLVED → REOPENED
Flags: in-testsuite+
Resolution: FIXED → ---
| Assignee | ||
Comment 10•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•