spec/Overview.html 1.2073 2905 Fire load/error events on <link> (for ex

Fire load/error events on <link> (for external resources) and <style>
(credit: gh) (whatwg r2905)

Index
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2073.html#index
The title attribute on style elements defines alternative style sheet sets. If the style element has no title attribute, then it has no title; the title attribute of ancestors does not apply to the style element.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2073.html#title-on-style
hyperlink links
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2073.html#hyperlink-link

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2072&r2=1.2073&f=h
http://html5.org/tools/web-apps-tracker?from=2904&to=2905

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2072
retrieving revision 1.2073
diff -u -d -r1.2072 -r1.2073
--- Overview.html 25 Mar 2009 00:34:45 -0000 1.2072
+++ Overview.html 25 Mar 2009 02:24:51 -0000 1.2073
@@ -8644,7 +8644,21 @@
   followed and 404 responses must cause the external resource to not
   be applied.)</p>
 
-  <p>Interactive user agents should provide users with a means to
+  <!-- the next paragraph is similar to text in the <style> section -->
+  <p>Once a resource <em>and any subresources it uses</em> have been
+  <a href=#fetch title=fetch>fetched</a>, if the loads were successful,
+  the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+  event</a> called <code title=event-load><a href=#event-load>load</a></code> at the
+  <code><a href=#the-link-element>link</a></code> element. If the resource or one of its
+  subresources fails to completely load for any reason (e.g. DNS
+  error, HTTP 404 response, the connection being prematurely closed,
+  unsupported Content-Type), the user agent must instead <a href=#queue-a-task>queue a
+  task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#the-link-element>link</a></code>
+  element. Non-network errors in processing the resource or its
+  subresources (e.g. CSS parse errors, PNG decoding errors) are not
+  failures for the purposes of this paragraph.</p>
+
+  <hr><p>Interactive user agents should provide users with a means to
   <a href=#following-hyperlinks title="following hyperlinks">follow the hyperlinks</a>
   created using the <code><a href=#the-link-element>link</a></code> element, somewhere within their
   user interface. The exact interface is not defined by this
@@ -9450,6 +9464,19 @@
   when the processor is invoked.<!-- so dynamic changes to the base
   URL don't affect the CSS --></p>
 
+  <!-- the next paragraph is similar to text in the <link> section -->
+  <p>Once the element has been evaluated, if it had no subresources or
+  once all the subresources it uses have been <a href=#fetch title=fetch>fetched</a>, the user agent must <a href=#queue-a-task>queue a
+  task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-load><a href=#event-load>load</a></code> at the <code><a href=#the-style-element>style</a></code> element. If
+  the resource has a subresource that fails to completely load for any
+  reason (e.g. DNS error, HTTP 404 response, the connection being
+  prematurely closed, unsupported Content-Type), the user agent must
+  instead <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+  event</a> called <code title=event-error><a href=#event-error>error</a></code> at the
+  <code><a href=#the-style-element>style</a></code> element. Non-network errors in the processing of
+  the element's contents or its subresources (e.g. CSS parse errors)
+  are not failures for the purposes of this paragraph.</p>
+
   </div><p class=note>This specification does not specify a style system,
   but CSS is expected to be supported by most Web browsers. <a href=#references>[CSS21]</a><div class=impl>
 
@@ -56764,30 +56791,30 @@
   Monstad, Elliotte Harold, Eric Carlson, Eric Law, Erik Arvidsson,
   Evan Martin, Evan Prodromou, fantasai, Felix Sasaki, Franck 'Shift'
   Qu&eacute;lain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon,
-  George Lund, H&aring;kon Wium Lie, Hans S. T&oslash;mmerhalt, Henri
-  Sivonen, Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo
-  Emanuel Gon&ccedil;alves, J. King, Jacques Distler, James Craig,
-  James Graham, James Justin Harrell, James M Snell, James Perrett,
-  Jan-Klaas Kollhof, Jason White, Jasper Bryant-Greene, Jed Hartman,
-  Jeff Cutsinger, Jeff Schiller, Jeff Walden, Jens Bannmann, Jens
-  Fendler, Jeroen van der Meer, Jim Jewett, Jim Meehan, Joe Clark,
-  John Fallows, Joseph Kesselman, Jjgod Jiang, Joel Spolsky, Johan
-  Herland, John Boyer, John Bussjaeger, John Harding, Johnny Stenback,
-  Jon Gibbins, Jon Perlow, Jonathan Worent, Jorgen Horstink, Josh
-  Levenberg, Joshua Randall, Jukka K. Korpela, Jules
-  Cl&eacute;ment-Ripoche, Julian Reschke, Kai Hendry, Kartikaya Gupta,
-  <!-- Keryx Web, = Lars Gunther --> Kornel Lesinski,
-  &#40658;&#28580;&#21083;&#24535; (KUROSAWA Takeshi), Kristof
-  Zelechovski, Kyle Hofmann, Lachlan Hunt, Larry Page, Lars Gunther,
-  Laura L. Carlson, Laura Wisewell, Laurens Holst, Lee Kowalkowski,
-  Leif Halvard Silli, Lenny Domnitser, L&eacute;onard Bouchet, Leons
-  Petrazickis, Logan<!-- on moz irc -->, Loune, Maciej Stachowiak,
-  Magnus Kristiansen<!-- Dashiva -->, Maik Merten, Malcolm Rowe, Mark
-  Nottingham, Mark Rowe<!--bdash-->, Mark Schenk, Martijn Wargers,
-  Martin Atkins, Martin D&uuml;rst, Martin Honnen, Masataka Yakura,
-  Mathieu Henri, Matthew Gregan, Matthew Mastracci, Matthew Raymond,
-  Matthew Thomas, Mattias Waldau, Max Romantschuk, Michael 'Ratt'
-  Iannarelli, Michael A. Nachbaur, Michael A. Puls
+  George Lund, Greg Houston, H&aring;kon Wium Lie, Hans
+  S. T&oslash;mmerhalt, Henri Sivonen, Henrik Lied, Henry Mason, Hugh
+  Winkler, Ignacio Javier, Ivo Emanuel Gon&ccedil;alves, J. King,
+  Jacques Distler, James Craig, James Graham, James Justin Harrell,
+  James M Snell, James Perrett, Jan-Klaas Kollhof, Jason White, Jasper
+  Bryant-Greene, Jed Hartman, Jeff Cutsinger, Jeff Schiller, Jeff
+  Walden, Jens Bannmann, Jens Fendler, Jeroen van der Meer, Jim
+  Jewett, Jim Meehan, Joe Clark, John Fallows, Joseph Kesselman, Jjgod
+  Jiang, Joel Spolsky, Johan Herland, John Boyer, John Bussjaeger,
+  John Harding, Johnny Stenback, Jon Gibbins, Jon Perlow, Jonathan
+  Worent, Jorgen Horstink, Josh Levenberg, Joshua Randall, Jukka
+  K. Korpela, Jules Cl&eacute;ment-Ripoche, Julian Reschke, Kai
+  Hendry, Kartikaya Gupta, <!-- Keryx Web, = Lars Gunther --> Kornel
+  Lesinski, &#40658;&#28580;&#21083;&#24535; (KUROSAWA Takeshi),
+  Kristof Zelechovski, Kyle Hofmann, Lachlan Hunt, Larry Page, Lars
+  Gunther, Laura L. Carlson, Laura Wisewell, Laurens Holst, Lee
+  Kowalkowski, Leif Halvard Silli, Lenny Domnitser, L&eacute;onard
+  Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->, Loune, Maciej
+  Stachowiak, Magnus Kristiansen<!-- Dashiva -->, Maik Merten, Malcolm
+  Rowe, Mark Nottingham, Mark Rowe<!--bdash-->, Mark Schenk, Martijn
+  Wargers, Martin Atkins, Martin D&uuml;rst, Martin Honnen, Masataka
+  Yakura, Mathieu Henri, Matthew Gregan, Matthew Mastracci, Matthew
+  Raymond, Matthew Thomas, Mattias Waldau, Max Romantschuk, Michael
+  'Ratt' Iannarelli, Michael A. Nachbaur, Michael A. Puls
   II<!--Shadow2531-->, Michael Carter, Michael Gratton, Michael
   Nordman, Michael Powers, Michael(tm) Smith, Michel Fortin, Michiel
   van der Blonk, Mihai &#350;ucan<!-- from ROBO Design -->, Mike

Received on Wednesday, 25 March 2009 02:27:49 UTC