Bug 4475

Summary: <noscript>, <noframes>, <nolayer> and <noembed> elements should be in the DOM
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: DOMAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Add "no-elements" to the DOM darin: review+

Description Anders Carlsson 2005-08-17 02:46:36 PDT
Currently, the HTML parser ignores the above tags, while other browsers put them in the DOM. WinIE, 
MacIE and Opera ignores any child nodes of the elements, while mozilla treats all contents as a single text 
node, for example <noframes><b>Foo</b></noframes> will create a noframes element with a child 
node that has the value "<b>Foo</b>". Some of the HTML element tests are failing because of this.
Comment 1 Anders Carlsson 2005-08-17 02:48:26 PDT
Created attachment 3432 [details]
Add "no-elements" to the DOM

Here's a patch that adds the "no-elements" to the DOM. It doesn't create any
children for them though, but I think this is OK.