W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1205,1.1206

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 05 Aug 2008 21:17:25 +0000
To: public-html-commits@w3.org
Message-Id: <E1KQTuH-0004tl-3f@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18798

Modified Files:
	Overview.html 
Log Message:
Revamp the 'interactive content' definitions so they make sense. (whatwg r2018)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1205
retrieving revision 1.1206
diff -u -d -r1.1205 -r1.1206
--- Overview.html	5 Aug 2008 21:09:48 -0000	1.1205
+++ Overview.html	5 Aug 2008 21:17:22 -0000	1.1206
@@ -17676,6 +17676,10 @@
 
    <dd><a href="#embedded1">Embedded content</a>.
 
+   <dd>If the element has a <code title=attr-media-controls><a
+    href="#controls">controls</a></code> attribute: <a
+    href="#interactive1">Interactive content</a>.
+
    <dt>Contexts in which this element may be used:
 
    <dd>Where <a href="#embedded1">embedded content</a> is expected.
@@ -18013,6 +18017,10 @@
 
    <dd><a href="#embedded1">Embedded content</a>.
 
+   <dd>If the element has a <code title=attr-media-controls><a
+    href="#controls">controls</a></code> attribute: <a
+    href="#interactive1">Interactive content</a>.
+
    <dt>Contexts in which this element may be used:
 
    <dd>Where <a href="#embedded1">embedded content</a> is expected.
@@ -26740,6 +26748,8 @@
 
    <dd><a href="#flow-content0">Flow content</a>.
 
+   <dd><a href="#interactive1">Interactive content</a>.
+
    <dt>Contexts in which this element may be used:
 
    <dd>Where <a href="#flow-content0">flow content</a> is expected.
@@ -26872,13 +26882,6 @@
    enter key, etc).</p>
   <!-- XXXPA -->
 
-  <p class=big-issue>This element is defined as interactive, which means it
-   can't contain other interactive elements, despite the fact that we expect
-   it to work with other interactive elements e.g. checkboxes and input
-   fields. It should be called something like a Leaf Interactive Element or
-   something, which counts for ancestors looking in and not descendants
-   looking out.
-
   <p>The <code><a href="#datagrid0">datagrid</a></code> element represents an
    interactive representation of tree, list, or tabular data.
 
@@ -29110,9 +29113,10 @@
 
    <dd>Where <a href="#phrasing0">phrasing content</a> is expected.
 
-   <dt><a href="#phrasing0">Phrasing content</a>.
+   <dt>Content model:
 
-   <dd>Empty.
+   <dd><a href="#phrasing0">Phrasing content</a>, but there must be no <a
+    href="#interactive1">interactive content</a> descendant.
 
    <dt>Element-specific attributes:
 
@@ -29299,6 +29303,11 @@
 
    <dd><a href="#flow-content0">Flow content</a>.
 
+   <dd>If the element's <code title=attr-menu-type><a
+    href="#type17">type</a></code> attribute is in the <a href="#tool-bar"
+    title="tool bar state">tool bar</a> state: <a
+    href="#interactive1">Interactive content</a>.
+
    <dd>If there is a <code><a href="#menu">menu</a></code> element ancestor:
     <a href="#phrasing0">phrasing content</a>.
 
@@ -55600,9 +55609,6 @@
 http://www.aujsproduction.com/samples/wishlist/revampedselector.asp
 
 
-interactive elements can't be nested (as in <a><button><input></button></a>)
-
-
 need a summary of all the content models and how they interact:
    a | interactive strictly inline-level element   | where inline-level content is expected | strictly inline-level content  | interactive elements must not be nested
    i | strictly inline-level element               | where inline-level content is expected | strictly inline-level content  |
Received on Tuesday, 5 August 2008 21:17:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT