W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: noscript in HTML fragment serialization algorithm

From: Simon Pieters <simonp@opera.com>
Date: Wed, 02 Sep 2009 10:56:14 +0200
To: "Ian Hickson" <ian@hixie.ch>, "Geoffrey Sneddon" <gsneddon@opera.com>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.uzmgf0xlidj3kv@simon-pieterss-macbook.local>
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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:56 UTC