Re: noscript in HTML fragment serialization algorithm

On Wed, 26 Aug 2009, Geoffrey Sneddon wrote:
>
> The fragment serialization algorithm currently says, "If the parent of 
> current node is a style, script, xmp, iframe, noembed, noframes, 
> noscript, or plaintext element, then append the value of current node's 
> data DOM attribute literally."
> 
> Does the reference to noscript not need to be "noscript (if scripting is 
> enabled)" so that innerHTML can roundtrip?

If scripting is disabled, how are you setting innerHTML?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 1 September 2009 23:59:05 UTC