displaying can fail
authorAnne van Kesteren <annevk@opera.com>
Wed, 20 Jun 2012 16:35:11 +0200
changeset 20 f1ad5e88360a
parent 19 86086a7b2302
child 21 19d209b18660
displaying can fail
Overview.html
Overview.src.html
--- a/Overview.html	Wed Jun 20 15:59:53 2012 +0200
+++ b/Overview.html	Wed Jun 20 16:35:11 2012 +0200
@@ -353,12 +353,25 @@
  named <code title="">error</code> on <var title="">notification</var> and terminate
  these steps.
 
- <li><p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">Queue a task</a> to display
- <var title="">notification</var> on the device (e.g. by calling the
- appropriate notification platform), append <var title="">notification</var> to the
- <a href="#list-of-active-notifications">list of active notifications</a>, and
- <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-fire" title="concept-event-fire">fire an event</a>
- named <code title="">show</code> on <var title="">notification</var>.
+ <li>
+  <p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">Queue a task</a> to run these substeps:
+
+  <ol>
+   <li><p>Display <var title="">notification</var> on the device (e.g. by
+   calling the appropriate notification platform).
+
+   <li><p>If displaying fails (e.g. the notification platform returns an
+   error),
+   <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-fire" title="concept-event-fire">fire an event</a>
+   named <code title="">error</code> on <var title="">notification</var> and
+   terminate these steps.
+
+   <li><p>Append <var title="">notification</var> to the
+   <a href="#list-of-active-notifications">list of active notifications</a>.
+
+   <li><p><a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-fire" title="concept-event-fire">Fire an event</a>
+   named <code title="">show</code> on <var title="">notification</var>.
+  </ol>
 </ol>
 
 
--- a/Overview.src.html	Wed Jun 20 15:59:53 2012 +0200
+++ b/Overview.src.html	Wed Jun 20 16:35:11 2012 +0200
@@ -331,12 +331,25 @@
  named <code title>error</code> on <var title>notification</var> and terminate
  these steps.
 
- <li><p><span data-anolis-spec=html>Queue a task</span> to display
- <var title>notification</var> on the device (e.g. by calling the
- appropriate notification platform), append <var title>notification</var> to the
- <span>list of active notifications</span>, and
- <span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
- named <code title>show</code> on <var title>notification</var>.
+ <li>
+  <p><span data-anolis-spec=html>Queue a task</span> to run these substeps:
+
+  <ol>
+   <li><p>Display <var title>notification</var> on the device (e.g. by
+   calling the appropriate notification platform).
+
+   <li><p>If displaying fails (e.g. the notification platform returns an
+   error),
+   <span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
+   named <code title>error</code> on <var title>notification</var> and
+   terminate these steps.
+
+   <li><p>Append <var title>notification</var> to the
+   <span>list of active notifications</span>.
+
+   <li><p><span data-anolis-spec=dom title=concept-event-fire>Fire an event</span>
+   named <code title>show</code> on <var title>notification</var>.
+  </ol>
 </ol>