Skip to content

Commit 0c7c233

Browse files
Correct two "fragment case" annotations
They can both occur even in regular (non-fragment) parsing, e.g. when parsing `<template><body>` and `<template><frameset>`.
1 parent e60fc35 commit 0c7c233

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125601,7 +125601,7 @@ document.body.appendChild(text);
125601125601
<p>If the <span>stack of open elements</span> has only one node on it, if the second element
125602125602
on the <span>stack of open elements</span> is not a <code>body</code> element, or if there is a
125603125603
<code>template</code> element on the <span>stack of open elements</span>, then ignore the token.
125604-
(<span>fragment case</span>)</p>
125604+
(<span>fragment case</span> or there is a <code>template</code> element on the stack)</p>
125605125605

125606125606
<p>Otherwise, set the <span>frameset-ok flag</span> to "not ok"; then, for each attribute on the
125607125607
token, check to see if the attribute is already present on the <code>body</code> element (the
@@ -125615,7 +125615,8 @@ document.body.appendChild(text);
125615125615

125616125616
<p>If the <span>stack of open elements</span> has only one node on it, or if the second element
125617125617
on the <span>stack of open elements</span> is not a <code>body</code> element, then ignore the
125618-
token. (<span>fragment case</span>)</p>
125618+
token. (<span>fragment case</span> or there is a <code>template</code> element on the
125619+
stack)</p>
125619125620

125620125621
<p>If the <span>frameset-ok flag</span> is set to "not ok", ignore the token.</p>
125621125622

0 commit comments

Comments
 (0)