[html5] r975 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon Aug 6 11:08:11 PDT 2007
Author: ianh
Date: 2007-08-06 11:08:10 -0700 (Mon, 06 Aug 2007)
New Revision: 975
Modified:
index
source
Log:
[e] (0) make note that 'icon' should be honoured for toolbars, make it clearer (i hope) that tool bars are a kind of menu
Modified: index
===================================================================
--- index 2007-08-06 18:04:49 UTC (rev 974)
+++ index 2007-08-06 18:08:10 UTC (rev 975)
@@ -858,7 +858,7 @@
</span>Introduction</a>
<li><a href="#building"><span class=secno>3.18.4.2. </span>Building
- menus</a>
+ menus and tool bars</a>
<li><a href="#context"><span class=secno>3.18.4.3. </span>Context
menus</a>
@@ -1563,6 +1563,13 @@
<ul class=toc>
<li><a href="#rendering0"><span class=secno>10.1. </span>Rendering and
the DOM</a>
+
+ <li><a href="#rendering1"><span class=secno>10.2. </span>Rendering and
+ menus/toolbars</a>
+ <ul class=toc>
+ <li><a href="#the-icon"><span class=secno>10.2.1. </span>The 'icon'
+ property</a>
+ </ul>
</ul>
<li><a href="#no"><span class=secno>11. </span>Things that you can't do
@@ -21937,9 +21944,10 @@
-->
<h5 id=building><span class=secno>3.18.4.2. </span><dfn
- id=building0>Building menus</dfn></h5>
+ id=building0>Building menus and tool bars</dfn></h5>
- <p>A menu consists of a list of zero or more of the following components:
+ <p>A menu (or tool bar) consists of a list of zero or more of the following
+ components:
<ul class=brief>
<li><a href="#command1" title=concept-command>Commands</a>, which can be
@@ -22060,8 +22068,8 @@
on the relevant <code><a href="#menu">menu</a></code> element.
<p>The default action of <em>this</em> event is that the user agent must
- show a context menu <a href="#building0" title="building menus">built</a>
- from the <code><a href="#menu">menu</a></code> element.
+ show a context menu <a href="#building0" title="building menus and tool
+ bars">built</a> from the <code><a href="#menu">menu</a></code> element.
<p>The user agent may also provide access to its default context menu, if
any, with the context menu shown. For example, it could merge the menu
@@ -22100,8 +22108,8 @@
<p>When a <code><a href="#menu">menu</a></code> element has a <code
title=attr-menu-type><a href="#type15">type</a></code> attribute with the
value <code title="">toolbar</code>, then the user agent must <a
- href="#building0" title="building menus">build</a> the menu for that
- <code><a href="#menu">menu</a></code> element and <span
+ href="#building0" title="building menus and tool bars">build</a> the menu
+ for that <code><a href="#menu">menu</a></code> element and <span
title=render-toolbar>render</span><!-- XXX xref --> it in the document in
a position appropriate for that <code><a href="#menu">menu</a></code>
element.
@@ -41028,6 +41036,17 @@
currently to enumerate all the views.</p>
<!-- XXX examples! -->
+ <h3 id=rendering1><span class=secno>10.2. </span>Rendering and
+ menus/toolbars</h3>
+
+ <h4 id=the-icon><span class=secno>10.2.1. </span>The 'icon' property</h4>
+
+ <p>UAs should use the command's Icon as the default generic icon provided
+ by the user agent when the 'icon' property computes to 'auto' on an
+ element that either defines a command or refers to one using the <code
+ title=command-attribute>command</code> attribute, but when the property
+ computes to an actual image, it should use that image instead.
+
<h2 id=no><span class=secno>11. </span>Things that you can't do with this
specification because they are better handled using other technologies
that are further described herein</h2>
@@ -42296,15 +42315,6 @@
ignored.</p>
-
- <h4>The 'icon' property</h4>
-
- <p>UAs should use the command's Icon as the default generic icon
- provided by the user agent when the 'icon' property computes to
- 'auto' on an element that either defines a command or refers to one
- using the <code title="command-attribute">command</code>
- attribute.</p>
-
<h4 id="pseudosAndCommands">CSS pseudo-classes and commands</h4>
<p>When an element uses the <code
Modified: source
===================================================================
--- source 2007-08-06 18:04:49 UTC (rev 974)
+++ source 2007-08-06 18:08:10 UTC (rev 975)
@@ -19562,10 +19562,10 @@
-->
- <h5><dfn>Building menus</dfn></h5>
+ <h5><dfn>Building menus and tool bars</dfn></h5>
- <p>A menu consists of a list of zero or more of the following
- components:</p>
+ <p>A menu (or tool bar) consists of a list of zero or more of the
+ following components:</p>
<ul class="brief">
<li><span title="concept-command">Commands</span>, which can be marked as default commands</li>
@@ -19685,8 +19685,8 @@
event</span> on the relevant <code>menu</code> element.</p>
<p>The default action of <em>this</em> event is that the user agent
- must show a context menu <span title="building menus">built</span>
- from the <code>menu</code> element.</p>
+ must show a context menu <span title="building menus and tool
+ bars">built</span> from the <code>menu</code> element.</p>
<p>The user agent may also provide access to its default context
menu, if any, with the context menu shown. For example, it could
@@ -19724,7 +19724,7 @@
<p>When a <code>menu</code> element has a <code
title="attr-menu-type">type</code> attribute with the value <code
title="">toolbar</code>, then the user agent must <span
- title="building menus">build</span> the menu for that
+ title="building menus and tool bars">build</span> the menu for that
<code>menu</code> element and <span
title="render-toolbar">render</span><!-- XXX xref --> it in the
document in a position appropriate for that <code>menu</code>
@@ -36907,8 +36907,18 @@
<!-- XXX examples! -->
+ <h3>Rendering and menus/toolbars</h3>
+ <h4>The 'icon' property</h4>
+ <p>UAs should use the command's Icon as the default generic icon
+ provided by the user agent when the 'icon' property computes to
+ 'auto' on an element that either defines a command or refers to one
+ using the <code title="command-attribute">command</code> attribute,
+ but when the property computes to an actual image, it should use
+ that image instead.</p>
+
+
<h2 id="no">Things that you can't do with this specification because
they are better handled using other technologies that are further
described herein</h2>
@@ -38193,15 +38203,6 @@
ignored.</p>
-
- <h4>The 'icon' property</h4>
-
- <p>UAs should use the command's Icon as the default generic icon
- provided by the user agent when the 'icon' property computes to
- 'auto' on an element that either defines a command or refers to one
- using the <code title="command-attribute">command</code>
- attribute.</p>
-
<h4 id="pseudosAndCommands">CSS pseudo-classes and commands</h4>
<p>When an element uses the <code
More information about the Commit-Watchers
mailing list