WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
7627
SVG from the W3C SVG 1.1 test suite (cubic01.svg) renders as all black
https://bugs.webkit.org/show_bug.cgi?id=7627
Summary
SVG from the W3C SVG 1.1 test suite (cubic01.svg) renders as all black
Rob Buis
Reported
2006-03-06 11:42:30 PST
The svg indicated by the URL renders as one black rect, while it should show path(s).
Attachments
Possible fix
(639 bytes, patch)
2006-03-06 13:52 PST
,
Rob Buis
no flags
Details
Formatted Diff
Diff
New patch
(646 bytes, patch)
2006-03-07 05:21 PST
,
Rob Buis
hyatt
: review+
Details
Formatted Diff
Diff
Even more complete patch
(2.32 KB, patch)
2006-04-04 13:58 PDT
,
Rob Buis
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2006-03-06 13:52:11 PST
Created
attachment 6902
[details]
Possible fix
Rob Buis
Comment 2
2006-03-07 05:21:21 PST
Created
attachment 6917
[details]
New patch Patch tested and okayed by mitzpettel
Darin Adler
Comment 3
2006-03-07 08:59:33 PST
Comment on
attachment 6917
[details]
New patch Needs change log. Needs layout test, or perhaps an existing test already checks this. If you omit the boolean, then true is the default, so I suggest omitting it instead of passing true.
Rob Buis
Comment 4
2006-03-07 13:47:59 PST
(In reply to
comment #3
)
> (From update of
attachment 6917
[details]
[edit]) > Needs change log. Needs layout test, or perhaps an existing test already checks > this. If you omit the boolean, then true is the default, so I suggest omitting > it instead of passing true. >
Hi Darin, I can do most of the above, however I could not explain so far why the change works. I'd really like to be able to do this before seeing the change in, so I'll keep looking for the reason, but if anyone else can explain why it works, please let me know.. Cheers, Rob.
Darin Adler
Comment 5
2006-03-08 08:59:20 PST
Comment on
attachment 6917
[details]
New patch Seems relatively straightforward to investigate further. One idea is to figure out what is parsed differently in the CSS in the different modes. The DOM inspector might even help. Another idea is to reduce this test page further. Marking this patch review- because we don't want to land it until we understand what's wrong, and because it needs change log, layout test, etc.
Rob Buis
Comment 6
2006-04-04 04:32:17 PDT
***
Bug 8041
has been marked as a duplicate of this bug. ***
Dave Hyatt
Comment 7
2006-04-04 13:19:30 PDT
This is the correct fix. SVG is always parsed in strict mode because it's XML, so passing "true" instead of checking the document's mode is the right thing to do.
Dave Hyatt
Comment 8
2006-04-04 13:19:50 PDT
Comment on
attachment 6917
[details]
New patch r=me
Rob Buis
Comment 9
2006-04-04 13:27:05 PDT
After quite some time looking in the wrong places, I found out in non-strict mode in CSSGrammar.y all class values are lower cased, causing mismatching when we really are looking for class values with upper case in them. So class=foo is not a problem, but class=Foo is, as shown by several testcases. Cheers, Rob.
Rob Buis
Comment 10
2006-04-04 13:58:03 PDT
Created
attachment 7509
[details]
Even more complete patch This time it should have everything, testcase, changelogs etc... Cheers, Rob.
Eric Seidel (no email)
Comment 11
2006-04-04 14:45:25 PDT
Comment on
attachment 7509
[details]
Even more complete patch Looks great.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug