mozilla

Revision 49979 of Optimizing Your Pages for Speculative Parsing

  • Revision slug: Talk:HTML/Optimizing_Your_Pages_for_Speculative_Parsing
  • Revision title: Optimizing Your Pages for Speculative Parsing
  • Revision id: 49979
  • Created:
  • Creator: John99
  • Is current revision? No
  • Comment I have, not made any edit to the page.; page created, 41 words added

Revision Content

I note this is a Draft.

I find it odd that the same code fragment is given as both a good and a bad example.

 

<script>document.write("<div></div>");</script> is OK.

<script>document.write("<div></div");</script> is bad.

Revision Source

<p>I note this is a Draft.</p>
<p>I find it odd that the same code fragment is given as both a good and a bad example.</p>
<p> </p>
<blockquote>
<p><code>&lt;script&gt;document.write("&lt;div&gt;&lt;/div&gt;");&lt;/script&gt;</code> is OK.</p>
<p><code>&lt;script&gt;document.write("&lt;div&gt;&lt;/div");&lt;/script&gt;</code> is bad.</p>
</blockquote>
Revert to this revision