W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/spec Overview.html,1.2446,1.2447

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 17 Jun 2009 06:17:49 +0000
To: public-html-commits@w3.org
Message-Id: <E1MGoSz-0006yt-Qw@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26821

Modified Files:
	Overview.html 
Log Message:
contextmenu='' inherits; also, fix markup error in last checkin (whatwg r3301)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2446
retrieving revision 1.2447
diff -u -d -r1.2446 -r1.2447
--- Overview.html	17 Jun 2009 05:52:54 -0000	1.2446
+++ Overview.html	17 Jun 2009 06:17:46 -0000	1.2447
@@ -33758,9 +33758,9 @@
   boolean <span title="dom-listener-dropped">dropped</span>(in <span>RowID</span> row, in <span>RowID</span> position, data);
 --><!--v2DGPA
   void <span title="dom-listener-performAction">performAction</span>(in <span>RowID</span> row, in DOMString action);
--->};</pre><p>The <code>DataGridDataProvider</code> interface, once implemented
-  by an object in a script and hooked up to a <code><a href="#datagrid">datagrid</a></code>
-  using the <dfn id="dom-datagrid-data" title="dom-datagrid-data"><code>data</code></dfn> DOM
+-->};</pre><p>The <code><a href="#datagridlistener">DataGridListener</a></code> interface, once implemented by
+  an object in a script and hooked up to a <code><a href="#datagrid">datagrid</a></code> using
+  the <code title="dom-datagrid-listener"><a href="#dom-datagrid-listener">listener</a></code> DOM
   attribute, receives notifications when the <code><a href="#datagrid">datagrid</a></code>
   needs information (such as which rows exist) for display.<p>The following methods may be usefully implemented:<dl><dt><dfn id="dom-listener-initialize" title="dom-listener-initialize"><code>initialize(<var title="">datagrid</var>)</code></dfn></dt>
 
@@ -34501,6 +34501,7 @@
    <dd>Append a separator to the menu, then iterate over the children
    of the <code><a href="#menus">menu</a></code> or <code><a href="#the-select-element">select</a></code> element, then
    append another separator.</dd>
+
    <!-- v2: we might want to support <select> in <label> as giving a named submenu -->
 
 
@@ -34547,20 +34548,17 @@
   is UA-dependent, as it will vary based on platform conventions.</p>
 
   <p>The default action of the <code title="event-contextmenu">contextmenu</code> event depends on
-  whether the element has a context menu assigned (using the <code title="attr-contextmenu"><a href="#attr-contextmenu">contextmenu</a></code> attribute) or not. If it
-  does not, the default action must be for the user agent to show its
-  default context menu, if it has one.</p>
-
-  <p class="XXX">Context menus should inherit (so clicking on a
-  span in a paragraph with a context menu should show the menu).</p>
+  whether the element or one of its ancestors has a context menu
+  assigned (using the <code title="attr-contextmenu"><a href="#attr-contextmenu">contextmenu</a></code> attribute) or not. If
+  there is no context menu assigned, the default action must be for
+  the user agent to show its default context menu, if it has one.</p>
 
-  <p>If the element <em>does</em> have a context menu assigned, then
-  the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called <code title="event-show">show</code> at the <code><a href="#menus">menu</a></code>
-  element. <span class="XXX">Actually this should fire an event that
-  has modifier information (shift/ctrl etc), as well as having a
-  pointer to the node on which the menu was fired, and with which the
-  menu was associated (which could be an ancestor of the
-  former).</span></p>
+  <p>If the element or one of its ancestors <em>does</em> have a
+  context menu assigned, then the user agent must <a href="#fire-a-simple-event">fire a simple
+  event</a> called <code title="event-show">show</code> at the
+  <code><a href="#menus">menu</a></code> element of the context menu of the nearest
+  ancestor (including the element itself) with one assigned.</p>
+  <!-- v2: include modifier key information -->
 
   <p>The default action of <em>this</em> event is that the user agent
   must show a context menu <a href="#building-menus-and-tool-bars" title="building menus and tool
Received on Wednesday, 17 June 2009 06:17:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 June 2009 06:17:59 GMT