Closed Bug 477996 Opened 16 years ago Closed 16 years ago

SVG CSS2 selectors not handled properly.

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: p.chwiej, Assigned: longsonr)

References

()

Details

(Keywords: fixed1.9.1)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; PL; rv:1.8.1.18) Gecko/20081031 SeaMonkey/1.1.13 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092416 Firefox/3.0.3 Seems like this part of CSS styling '[transform="scale(2)"] { fill: red }' is not handled properly. Reproducible: Always Steps to Reproduce: 1. Go to http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-styling-css-02-b.html 2. Check the lower left circle color. Actual Results: Bottom left circle is blue. Expected Results: Bottom left circle should be red.
User-Agent update: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092416 Firefox/3.0.3
Attached image testcase
[transform="scale(2, 2)"] works. Looks like another variation of bug 433533.
=> Duplicate of bug 444380
Attached patch patchSplinter Review
Not a duplicate. http://www.w3.org/TR/SVG/coords.html#TransformAttribute says that a missing sy is assumed equal to sx not to 0.
Assignee: nobody → longsonr
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #361792 - Flags: superreview?(roc)
Attachment #361792 - Flags: review?(roc)
Flags: blocking1.9.1?
Comment on attachment 361792 [details] [diff] [review] patch Should be easy to add a test here.
Attachment #361792 - Flags: superreview?(roc)
Attachment #361792 - Flags: superreview+
Attachment #361792 - Flags: review?(roc)
Attachment #361792 - Flags: review+
Attached patch reftestSplinter Review
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Comment on attachment 361792 [details] [diff] [review] patch Low risk patch with reftest. Makes us pass one more test in the w3c SVG test suite.
Attachment #361792 - Flags: approval1.9.1?
OS: Linux → All
Hardware: x86 → All
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Attachment #361792 - Flags: approval1.9.1? → approval1.9.1+
Whiteboard: [needs 191 landing]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: