Overview.src.html
changeset 16 563e9af218b9
parent 15 954c3bcb5527
child 17 cf99a4f443ee
equal deleted inserted replaced
15:954c3bcb5527 16:563e9af218b9
   200 <p>A <dfn title=concept-notification>notification</dfn> allows alerting the
   200 <p>A <dfn title=concept-notification>notification</dfn> allows alerting the
   201 user outside the context of a web page of an occurrence, such as the
   201 user outside the context of a web page of an occurrence, such as the
   202 delivery of email.
   202 delivery of email.
   203 
   203 
   204 <p>Each <span title=concept-notification>notification</span> has a
   204 <p>Each <span title=concept-notification>notification</span> has a
   205 <dfn>title</dfn>. For specification simplicity each
   205 <dfn>title</dfn> (string). For specification simplicity each
   206 <span title=concept-notification>notification</span> also has a
   206 <span title=concept-notification>notification</span> also has a
   207 <dfn>title direction</dfn> and <dfn>body direction</dfn>, both of which are
   207 <dfn>title direction</dfn> and <dfn>body direction</dfn>, both of which are
   208 initially "<code title>auto</code>".
   208 initially "<code title>auto</code>".
   209 
   209 
   210 <p>Each <span title=concept-notification>notification</span> <em>can</em>
   210 <p>Each <span title=concept-notification>notification</span> <em>can</em>
   211 have an associated <dfn>body</dfn>, <dfn>tag</dfn>, and <dfn>icon URL</dfn>.
   211 have an associated <dfn>body</dfn> (string),
       
   212 <dfn>tag</dfn>  ((string, <span data-anolis-spec=origin>origin</span>) tuple),
       
   213 and <dfn>icon URL</dfn> (<span data-anolis-spec=html>URL</span>).
   212 
   214 
   213 
   215 
   214 <h3>Permission</h3>
   216 <h3>Permission</h3>
   215 
   217 
   216 <p><span title=concept-notification>Notifications</span> can only be
   218 <p><span title=concept-notification>Notifications</span> can only be
   456  <var title>notification</var>'s <span>body direction</span> to
   458  <var title>notification</var>'s <span>body direction</span> to
   457  <code title>bodyDir</code>.
   459  <code title>bodyDir</code>.
   458 
   460 
   459  <li><p>If <var title>options</var> is not omitted and its
   461  <li><p>If <var title>options</var> is not omitted and its
   460  <code title>tag</code> is not null, set <var title>notification</var>'s
   462  <code title>tag</code> is not null, set <var title>notification</var>'s
   461  <span>tag</span> to <code title>tag</code>.
   463  <span>tag</span> to
       
   464  (<code title>tag</code>, current <span data-anolis-spec=origin>origin</span>).
   462 
   465 
   463  <li><p>If <var title>options</var> is not omitted and its
   466  <li><p>If <var title>options</var> is not omitted and its
   464  <code title>iconUrl</code> is not null, set <var title>notification</var>'s
   467  <code title>iconUrl</code> is not null, set <var title>notification</var>'s
   465  <span>icon URL</span> to <code title>iconUrl</code>.
   468  <span>icon URL</span> to <code title>iconUrl</code>.
   466 
   469 
   649 Doug Turner,
   652 Doug Turner,
   650 Drew Wilson,
   653 Drew Wilson,
   651 Edward O'Connor,
   654 Edward O'Connor,
   652 Ian Hickson,
   655 Ian Hickson,
   653 James Graham,
   656 James Graham,
   654 Jon Lee, and
   657 Jon Lee,
   655 Jonas Sicking
   658 Jonas Sicking, and
       
   659 Olli Pettay,
   656 for being awesome.
   660 for being awesome.