Skip to content

Commit

Permalink
[t] (0) handle roundtripping for fragment serialising of <noscript> w…
Browse files Browse the repository at this point in the history
…hen scripting is not supported in a tool, but the tool doesn't pretend it's enabled.

git-svn-id: http://svn.whatwg.org/webapps@3755 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 4, 2009
1 parent 011ce21 commit d58a3aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
13 changes: 6 additions & 7 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -66846,13 +66846,12 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<p>If the parent of <var title="">current node</var> is a
<code><a href=#the-style-element>style</a></code>, <code><a href=#script>script</a></code>, <code><a href=#xmp>xmp</a></code>,
<code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#noembed>noembed</a></code>,
<code><a href=#noframes>noframes</a></code>, <code><a href=#the-noscript-element>noscript</a></code>, or
<code><a href=#plaintext>plaintext</a></code> element, then append the value of <var title="">current node</var>'s <code title="">data</code> IDL
attribute literally.</p> <!-- note about noscript: we're
assuming here that scripting is enabled. If this algorithm is
used with scripting disabled, this won't work
right. (e.g. This might affect calling innerHTML on nodes in a
document that is being designMode'd) -->
<code><a href=#noframes>noframes</a></code>, or <code><a href=#plaintext>plaintext</a></code> element, or
if the parent of <var title="">current node</var> is
<code><a href=#the-noscript-element>noscript</a></code> element and <a href=#concept-n-script title=concept-n-script>scripting is enabled</a> for the
node, then append the value of <var title="">current
node</var>'s <code title="">data</code> IDL attribute
literally.</p>

<p>Otherwise, append the value of <var title="">current
node</var>'s <code title="">data</code> IDL attribute, <a href=#escapingString title="escaping a string">escaped as described
Expand Down
15 changes: 7 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -82086,14 +82086,13 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<p>If the parent of <var title="">current node</var> is a
<code>style</code>, <code>script</code>, <code>xmp</code>,
<code>iframe</code>, <code>noembed</code>,
<code>noframes</code>, <code>noscript</code>, or
<code>plaintext</code> element, then append the value of <var
title="">current node</var>'s <code title="">data</code> IDL
attribute literally.</p> <!-- note about noscript: we're
assuming here that scripting is enabled. If this algorithm is
used with scripting disabled, this won't work
right. (e.g. This might affect calling innerHTML on nodes in a
document that is being designMode'd) -->
<code>noframes</code>, or <code>plaintext</code> element, or
if the parent of <var title="">current node</var> is
<code>noscript</code> element and <span
title="concept-n-script">scripting is enabled</span> for the
node, then append the value of <var title="">current
node</var>'s <code title="">data</code> IDL attribute
literally.</p>

<p>Otherwise, append the value of <var title="">current
node</var>'s <code title="">data</code> IDL attribute, <span
Expand Down

0 comments on commit d58a3aa

Please sign in to comment.