Skip to content

Commit

Permalink
Editorial: minor fixes to the parse error table (whatwg#2728)
Browse files Browse the repository at this point in the history
Element names in the domTree should be lowercase. Also add comma
and space after "e.g.".
  • Loading branch information
zcorpan authored and Alice Boxhall committed Jan 7, 2019
1 parent a7801e5 commit b98bd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -100430,12 +100430,12 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {

<p>This will be parsed into:</p>

<ul class="domTree"><li class="t8"><code>#comment</code>: <span data-x="">?xml-stylesheet type="text/css" href="style.css"?</span></li><li class="t1"><code>HTML</code><ul><li class="t1"><code>HEAD</code></li><li class="t1"><code>BODY</code></li></ul></li></ul>
<ul class="domTree"><li class="t8"><code>#comment</code>: <span data-x="">?xml-stylesheet type="text/css" href="style.css"?</span></li><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code></li></ul></li></ul>
</div>

<p class="note">The common reason for this error is an XML processing instruction (e.g., <code
data-x="">&lt;?xml-stylesheet type="text/css" href="style.css"?></code>) or an XML declaration
(e.g.<code data-x="">&lt;?xml version="1.0" encoding="UTF-8" ?></code>) being used in
(e.g., <code data-x="">&lt;?xml version="1.0" encoding="UTF-8"?></code>) being used in
HTML.</p>

<tr>
Expand Down

0 comments on commit b98bd67

Please sign in to comment.