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

html5/spec Overview.html,1.909,1.910

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 Jun 2008 09:30:21 +0000
To: public-html-commits@w3.org
Message-Id: <E1K4BnZ-00076c-Pb@lionel-hutz.w3.org>

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

Modified Files:
	Overview.html 
Log Message:
Make <map name=''> the preferred way of doing things. (whatwg r1722)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.909
retrieving revision 1.910
diff -u -d -r1.909 -r1.910
--- Overview.html	3 Jun 2008 11:49:11 -0000	1.909
+++ Overview.html	5 Jun 2008 09:30:18 -0000	1.910
@@ -58,14 +58,14 @@
    <h2 class="no-num no-toc" id=a-vocabulary>A vocabulary and associated APIs
     for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id=w3c-working>W3C Working Draft 3 June 2008</h2>
+   <h2 class="no-num no-toc" id=w3c-working>W3C Working Draft 5 June 2008</h2>
 
    <dl><!-- ZZZ: -->
 
     <dt>This Version:
 
     <dd><a
-     href="http://www.w3.org/TR/2008/WD-html5-20080603/">http://www.w3.org/TR/2008/WD-html5-20080603/</a></dd>
+     href="http://www.w3.org/TR/2008/WD-html5-20080605/">http://www.w3.org/TR/2008/WD-html5-20080605/</a></dd>
     <!-- :ZZZ -->
 
     <dt>Latest Published Version:
@@ -197,7 +197,7 @@
 
   <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
    the W3C working group responsible for this specification's progress along
-   the W3C Recommendation track.<!--ZZZ:--> This specification is the 3 June
+   the W3C Recommendation track.<!--ZZZ:--> This specification is the 5 June
    2008 Working Draft.<!--:ZZZ--></p>
   <!-- relationship to other work (required) -->
 
@@ -6232,14 +6232,13 @@
 
   <h4 id=syntax-references><span class=secno>3.2.8 </span>References</h4>
 
-  <p>A <dfn id=valid7>valid hashed ID reference</dfn> to an element of type
-   <var title="">type</var> is a string consisting of a U+0023 NUMBER SIGN
-   (<code title="">#</code>) character followed by a string which exactly
-   matches the value of the <code title=attr-id><a href="#id">id</a></code>
-   attribute of an element in the document with type <var
-   title="">type</var>.
+  <p>A <dfn id=valid7>valid hashed reference</dfn> to an element of type <var
+   title="">type</var> is a string consisting of a U+0023 NUMBER SIGN (<code
+   title="">#</code>) character followed by a string which exactly matches
+   the value of the <code title=attr-id><a href="#id">id</a></code> attribute
+   of an element in the document with type <var title="">type</var>.
 
-  <p>The <dfn id=rules5>rules for parsing a hashed ID reference</dfn> to an
+  <p>The <dfn id=rules5>rules for parsing a hashed reference</dfn> to an
    element of type <var title="">type</var> are as follows:
 
   <ol>
@@ -20903,14 +20902,14 @@
 
    <dt>Element-specific attributes:
 
-   <dd>None, but the <code title=attr-id><a href="#id">id</a></code> global
-    attribute has special requirements on this element.
+   <dd><code title=attr-map-name><a href="#name7">name</a></code>
 
    <dt>DOM interface:
 
    <dd>
     <pre
      class=idl>interface <dfn id=htmlmapelement>HTMLMapElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
+           attribute DOMString <a href="#name8" title=dom-map-name>name</a>;
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#areas" title=dom-map-areas>areas</a>;
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#images1" title=dom-map-images>images</a>;
 };</pre>
@@ -20920,8 +20919,11 @@
    <code><a href="#area">area</a></code> element descendants, defines an <a
    href="#image">image map</a>.
 
-  <p>There must always be an <code title=attr-id><a href="#id">id</a></code>
-   attribute present on <code><a href="#map">map</a></code> elements.
+  <p>The <dfn id=name7 title=attr-map-name><code>name</code></dfn> attribute
+   gives the map a name so that it can be referenced. The attribute must be
+   present and must have a non-empty value. Whitespace is significant in this
+   attribute's value. If the <code title=attr-id><a href="#id">id</a></code>
+   attribute is also specified, both attributes must have the same value.
 
   <p>The <dfn id=areas title=dom-map-areas><code>areas</code></dfn> attribute
    must return an <code><a href="#htmlcollection0">HTMLCollection</a></code>
@@ -20936,6 +20938,10 @@
    elements that are associated with this <code><a href="#map">map</a></code>
    element according to the <a href="#image">image map</a> processing model.
 
+  <p>The DOM attribute <dfn id=name8
+   title=dom-map-name><code>name</code></dfn> must <a
+   href="#reflect">reflect</a> the content attribute of the same name.
+
   <h4 id=the-area><span class=secno>3.12.13 </span>The <dfn
    id=area><code>area</code></dfn> element</h4>
 
@@ -21214,7 +21220,7 @@
    <code><a href="#img">img</a></code> or <code><a
    href="#object">object</a></code> element. The <code
    title=attr-area-usemap>usemap</code> attribute, if specified, must be a <a
-   href="#valid7">valid hashed ID reference</a> to a <code><a
+   href="#valid7">valid hashed reference</a> to a <code><a
    href="#map">map</a></code> element.
 
   <p>If an <code><a href="#img">img</a></code> element or an <code><a
@@ -21224,9 +21230,9 @@
 
   <ol>
    <li>
-    <p>First, <a href="#rules5">rules for parsing a hashed ID reference</a>
-     to a <code><a href="#map">map</a></code> element must be followed. This
-     will return either an element (the <var title="">map</var>) or null.
+    <p>First, <a href="#rules5">rules for parsing a hashed reference</a> to a
+     <code><a href="#map">map</a></code> element must be followed. This will
+     return either an element (the <var title="">map</var>) or null.
 
    <li>
     <p>If that returned null, then abort these steps. The image is not
@@ -28793,7 +28799,7 @@
   // the current browsing context
   readonly attribute <a href="#window">Window</a> <a href="#window0" title=dom-window>window</a>;
   readonly attribute <a href="#window">Window</a> <a href="#self" title=dom-self>self</a>;
-           attribute DOMString <a href="#name7" title=dom-name>name</a>;
+           attribute DOMString <a href="#name9" title=dom-name>name</a>;
   [PutForwards=href] readonly attribute <a href="#location2">Location</a> <a href="#location0" title=dom-document-location>location</a>;
   readonly attribute <a href="#history2">History</a> <a href="#history1" title=dom-history>history</a>;
   readonly attribute <a href="#undomanager">UndoManager</a> <a href="#undomanager0" title=dom-undoManager>undoManager</a>;
@@ -29053,7 +29059,7 @@
    context</a> that was navigated, or null if no browsing context was
    navigated.
 
-  <p>The <dfn id=name7 title=dom-name><code>name</code></dfn> attribute of
+  <p>The <dfn id=name9 title=dom-name><code>name</code></dfn> attribute of
    the <code><a href="#window">Window</a></code> object must, on getting,
    return the current name of the <a href="#browsing1">browsing context</a>,
    and, on setting, set the name of the <a href="#browsing1">browsing
Received on Thursday, 5 June 2008 09:30:56 GMT

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