Bug 5995 - conditional processing attributes should work on all elements
Summary: conditional processing attributes should work on all elements
Status: RESOLVED DUPLICATE of bug 5999
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 20:45 PST by Eric Seidel (no email)
Modified: 2005-12-11 01:25 PST (History)
0 users

See Also:


Attachments
Testcase for conditional processing (2.02 KB, image/svg+xml)
2005-12-09 01:24 PST, Rob Buis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 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.
Comment 1 Eric Seidel (no email) 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.
Comment 2 Rob Buis 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.
Comment 3 Eric Seidel (no email) 2005-12-11 01:25:16 PST

*** This bug has been marked as a duplicate of 5999 ***