Re: noscript in HTML fragment serialization algorithm

On Wed, 02 Sep 2009 02:01:18 +0200, Ian Hickson <ian@hixie.ch> wrote:

> 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?

The fragment serialization algorithm appears to be generic, i.e. might  
have other uses than innerHTML.

IIRC, Genshi uses this algorithm, and it has scripting disabled.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 2 September 2009 08:57:03 UTC