Bug 89523

Summary: Meta bug: The SVG content model is not enforced
Product: WebKit Reporter: Philip Rogers <pdr>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: schenney, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Philip Rogers 2012-06-19 16:17:06 PDT
The SVG content model is not enforced well at all, especially for non-text nodes.

Just as an example, the following should not be allowed:
<image>
  <textPath/>
</image>
Comment 1 Philip Rogers 2012-06-21 11:09:49 PDT
Some investigation later... we do do this correctly after all.

The content model is enforced on the render tree, but not the DOM tree. I manually spot checked that we do this correctly and found that we do.

Closing bug, apologies for the noise.