[Webkit-unassigned] [Bug 12609] Any SVG element will create renderers even when children of HTML elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 5 06:42:39 PST 2007


------- Comment #1 from macdome at opendarwin.org  2007-02-05 06:42 PDT -------
    // These two methods are mutually exclusive.  The former is used to do
strict error-checking
    // when adding children via the public DOM API (e.g., appendChild()).  The
latter is called only when parsing, 
    // to sanity-check against the DTD for error recovery.
    void checkAddChild(Node* newChild, ExceptionCode&); // Error-checking when
adding via the DOM API
    virtual bool childAllowed(Node* newChild);          // Error-checking
during parsing that checks the DTD

We need something like "childAllowed" which is called during appendChild, etc. 
Something that can check the node name, etc.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list