Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[e] (0) Rearrange for clarity.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17231
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7715 340c8d12-0b0e-0410-8428-c7bf67bfef74
(cherry picked from commit 7db6bd2)

Addresses W3C bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=18219
  • Loading branch information...
commit 35683d7b35a5d2c3a5cfe8f9588d037539468de4 1 parent 8f94e40
ianh authored silviapfeiffer committed
Showing with 14 additions and 14 deletions.
  1. +14 −14 source
View
28 source
@@ -26027,6 +26027,20 @@ of various sizes."></strong></pre>
<p>When a <code>Document</code> in an <code>iframe</code> is marked as <span>completely
loaded</span>, the user agent must synchronously run the <span>iframe load event steps</span>.</p>
+ <p>When content whose <span>URL</span> has the <span>same origin</span> as the <code>iframe</code>
+ element's <code>Document</code> fails to load (e.g. due to a DNS error, network error, or if the
+ server returned a 4xx or 5xx status code <span title="concept-http-equivalent-codes">or
+ equivalent</span>), then the user agent must <span>queue a task</span> to <span>fire a simple
+ event</span> named <code title="event-error">error</code> at the element instead. (This event does
+ not fire for <span title="parse error">parse errors</span>, script errors, or any errors for
+ cross-origin resources.)</p>
+
+ <p>The <span>task source</span> for these <span title="concept-task">tasks</span> is the <span>DOM
+ manipulation task source</span>.</p>
+
+ <p class="note">A <code title="event-load">load</code> event is also fired at the
+ <code>iframe</code> element when it is created if no other data is loaded in it.</p>
+
<p>Each <code>Document</code> has an <dfn>iframe load in progress</dfn> flag and a <dfn>mute
iframe load</dfn> flag. When a <code>Document</code> is created, these flags must be unset for
that <code>Document</code>.</p>
@@ -26052,20 +26066,6 @@ of various sizes."></strong></pre>
</ol>
- <p>When content whose <span>URL</span> has the <span>same origin</span> as the <code>iframe</code>
- element's <code>Document</code> fails to load (e.g. due to a DNS error, network error, or if the
- server returned a 4xx or 5xx status code <span title="concept-http-equivalent-codes">or
- equivalent</span>), then the user agent must <span>queue a task</span> to <span>fire a simple
- event</span> named <code title="event-error">error</code> at the element instead. (This event does
- not fire for <span title="parse error">parse errors</span>, script errors, or any errors for
- cross-origin resources.)</p>
-
- <p>The <span>task source</span> for these <span title="concept-task">tasks</span> is the <span>DOM
- manipulation task source</span>.</p>
-
- <p class="note">A <code title="event-load">load</code> event is also fired at the
- <code>iframe</code> element when it is created if no other data is loaded in it.</p>
-
<p>When the <code>iframe</code>'s <span>browsing context</span>'s <span>active document</span> is
not <span>ready for post-load tasks</span>, and when anything in the <code>iframe</code> is <span
title="delay the load event">delaying the load event</span> of the <code>iframe</code>'s
Please sign in to comment.
Something went wrong with that request. Please try again.