Bug 89523 - Meta bug: The SVG content model is not enforced
Summary: Meta bug: The SVG content model is not enforced
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2012-06-19 16:17 PDT by Philip Rogers
Modified: 2012-06-21 11:09 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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:
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.