Overview.src.html
changeset 24 d12d81df8cf3
parent 23 c385e2d54c8c
child 25 914cfd6e0f75
--- a/Overview.src.html	Tue Jun 26 15:12:13 2012 +0200
+++ b/Overview.src.html	Tue Jun 26 15:27:37 2012 +0200
@@ -318,17 +318,17 @@
 are:
 
 <ol>
- <li><p>If the notification platform supports icons and
- <var title>notification</var>'s <span>icon URL</span> has not yet been
- <span data-anolis-spec=html title=fetch>fetched</span>,
- <span data-anolis-spec=html>fetch</span> it and wait for the resource to be
- fully downloaded.
+ <li>
+  <p>If the notification platform supports icons,
+  <var title>notification</var>'s <span>icon URL</span> is set and has not
+  yet been <span data-anolis-spec=html title=fetch>fetched</span>,
+  <span data-anolis-spec=html>fetch</span> it and wait for the resource to
+  be fully downloaded.
 
- <li><p>If <span data-anolis-spec=html title=fetch>fetching</span>
- <var title>notification</var>'s <span>icon URL</span> finished and the
- image format is supported, set <var title>notification</var>'s
- <span>icon</span> to the decoded resource. (Otherwise
- <var title>notification</var> has no <span>icon</span>.)
+  <p>Once <span data-anolis-spec=html title=fetch>fetching</span> has
+  finished and the image format is supported, set
+  <var title>notification</var>'s <span>icon</span> to the decoded resource.
+  (Otherwise <var title>notification</var> has no <span>icon</span>.)
 
  <li>
   <p><span data-anolis-spec=html>Queue a task</span> to run these substeps:
@@ -359,16 +359,16 @@
 <var title>new</var> one are:
 
 <ol>
- <li><p>If the notification platform supports icons and
- <var title>new</var>'s <span>icon URL</span> has not yet been
- <span data-anolis-spec=html title=fetch>fetched</span>,
- <span data-anolis-spec=html>fetch</span> it and wait for the resource to be
- fully downloaded.
+  <p>If the notification platform supports icons,
+  <var title>new</var>'s <span>icon URL</span> is set and has not
+  yet been <span data-anolis-spec=html title=fetch>fetched</span>,
+  <span data-anolis-spec=html>fetch</span> it and wait for the resource to
+  be fully downloaded.
 
- <li><p>If <span data-anolis-spec=html title=fetch>fetching</span>
- <var title>new</var>'s <span>icon URL</span> finished and the  image format
- is supported, set <var title>new</var>'s <span>icon</span> to the decoded
- resource. (Otherwise <var title>new</var> has no <span>icon</span>.)
+  <p>Once <span data-anolis-spec=html title=fetch>fetching</span> has
+  finished and the image format is supported, set
+  <var title>new</var>'s <span>icon</span> to the decoded resource.
+  (Otherwise <var title>new</var> has no <span>icon</span>.)
 
  <li><p>If <var title>old</var> is in the
  <span>list of pending notifications</span>,
@@ -471,15 +471,22 @@
  <var title>notification</var>'s <span>tag</span> to <code title>tag</code>.
 
  <li><p>If <var title>options</var>'s <code title>iconUrl</code> is present,
- set <var title>notification</var>'s <span>icon URL</span> to
- <code title>iconUrl</code>.
+ <span title="resolve a URL" data-anolis-spec=html>resolve</span>
+ <code title>iconUrl</code> against the
+ <span data-anolis-spec=html>entry script</span>'s
+ <span title="script's base URL" data-anolis-spec=html>base URL</span>, and
+ if that does not fail, set
+ <var title>notification</var>'s <span>icon URL</span> to the resulting
+ <span data-anolis-spec=html>absolute URL</span>. (Otherwise
+ <span>icon URL</span> is not set.)
 
  <li><p>Return <var title>notification</var>, but continue running these
  steps asynchronouusly.
 
  <li><p>If the notification platform supports icons, the user agent may
  start <span data-anolis-spec=html title=fetch>fetching</span>
- <var title>notification</var>'s <span>icon URL</span> at this point.
+ <var title>notification</var>'s <span>icon URL</span> at this point, if
+ <span>icon URL</span> is set.
 
  <li><p>Run the <span>show steps</span> for <var title>notification</var>.
 </ol>