RESOLVED DUPLICATE of bug 5999 5995
conditional processing attributes should work on all elements
https://bugs.webkit.org/show_bug.cgi?id=5995
Summary conditional processing attributes should work on all elements
Eric Seidel (no email)
Reported 2005-12-07 20:45:26 PST
conditional processing attributes should work on all elements After talking with the mozilla guys tongiht, it became clear to me that conditional processing attributes apply to all elements, not just children of <switch>. <switch> just makes it so that you render *only* the first valid element. But non-valid elements in other parts of the DOM shouldn't register either.
Attachments
Testcase for conditional processing (2.02 KB, image/svg+xml)
2005-12-09 01:24 PST, Rob Buis
no flags
Eric Seidel (no email)
Comment 1 2005-12-08 04:39:08 PST
I'm creating a better patch for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5999 which should have a fix for this in it as well. It was a 2 line change.
Rob Buis
Comment 2 2005-12-09 01:24:00 PST
Created attachment 5010 [details] Testcase for conditional processing This testcase tests condional processing on a <g>. The test should fail, so the group should not be rendered AFAIK, meaning nothing should be rendered at all, since the group is the only renderable element in the svg.
Eric Seidel (no email)
Comment 3 2005-12-11 01:25:16 PST
*** This bug has been marked as a duplicate of 5999 ***
Note You need to log in before you can comment on or make changes to this bug.