[html5] r1947 - [e] (0) change the way ids are given for area shape=''

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 28 13:12:25 PDT 2008


Author: ianh
Date: 2008-07-28 13:12:24 -0700 (Mon, 28 Jul 2008)
New Revision: 1947

Modified:
   index
   source
Log:
[e] (0) change the way ids are given for area shape=''

Modified: index
===================================================================
--- index	2008-07-26 00:01:08 UTC (rev 1946)
+++ index	2008-07-28 20:12:24 UTC (rev 1947)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 26 July
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 28 July
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -22905,54 +22905,61 @@
 
    <tbody>
     <tr>
-     <td rowspan=2><dfn id=circle title=attr-area-shape-circle>Circle
-      state</dfn>
+     <td rowspan=2><a href="#circle0" title=attr-area-shape-circle>Circle
+      state</a>
 
-     <td><code title="">circ</code>
+     <td><dfn id=circ
+      title=attr-area-shape-keyword-circ><code>circ</code></dfn>
 
      <td>Non-conforming
 
     <tr>
-     <td><code title="">circle</code>
+     <td><dfn id=circle
+      title=attr-area-shape-keyword-circle><code>circle</code></dfn>
 
      <td>
 
     <tr>
-     <td><dfn id=default0 title=attr-area-shape-default>Default state</dfn>
+     <td><a href="#default1" title=attr-area-shape-default>Default state</a>
 
-     <td><code title="">default</code>
+     <td><dfn id=default0
+      title=attr-area-shape-keyword-default><code>default</code></dfn>
 
      <td>
 
     <tr>
-     <td rowspan=2><dfn id=polygon title=attr-area-shape-poly>Polygon
-      state</dfn>
+     <td rowspan=2><a href="#polygon0" title=attr-area-shape-poly>Polygon
+      state</a>
 
-     <td><code title="">poly</code>
+     <td><dfn id=poly
+      title=attr-area-shape-keyword-poly><code>poly</code></dfn>
 
      <td>
 
     <tr>
-     <td><code title="">polygon</code>
+     <td><dfn id=polygon
+      title=attr-area-shape-keyword-polygon><code>polygon</code></dfn>
 
      <td>Non-conforming
 
     <tr>
-     <td rowspan=2><dfn id=rectangle title=attr-area-shape-rect>Rectangle
-      state</dfn>
+     <td rowspan=2><a href="#rectangle0" title=attr-area-shape-rect>Rectangle
+      state</a>
 
-     <td><code title="">rect</code>
+     <td><dfn id=rect
+      title=attr-area-shape-keyword-rect><code>rect</code></dfn>
 
      <td>
 
     <tr>
-     <td><code title="">rectangle</code>
+     <td><dfn id=rectangle
+      title=attr-area-shape-keyword-rectangle><code>rectangle</code></dfn>
 
      <td>Non-conforming
   </table>
 
   <p>The attribute may be omitted. The <i>missing value default</i> is the <a
-   href="#rectangle" title=attr-area-shape-rect>rectangle</a> state.
+   href="#rectangle0" title=attr-area-shape-rect>rectangle</a> state.
 
   <p>The <dfn id=coords title=attr-area-coords><code>coords</code></dfn>
    attribute must, if specified, contain a <a href="#valid5">valid list of
@@ -22961,7 +22968,7 @@
    attribute. The processing for this attribute is described as part of the
    <a href="#image2">image map</a> processing model.
 
-  <p>In the <a href="#circle" title=attr-area-shape-circle>circle state</a>,
+  <p>In the <dfn id=circle0 title=attr-area-shape-circle>circle state</dfn>,
    <code><a href="#area">area</a></code> elements must have a <code
    title=attr-area-coords><a href="#coords">coords</a></code> attribute
    present, with three integers, the last of which must be non-negative. The
@@ -22971,12 +22978,12 @@
    and the third integer must be the radius of the circle, again in CSS
    pixels.
 
-  <p>In the <a href="#default0" title=attr-area-shape-default>default
-   state</a> state, <code><a href="#area">area</a></code> elements must not
+  <p>In the <dfn id=default1 title=attr-area-shape-default>default
+   state</dfn> state, <code><a href="#area">area</a></code> elements must not
    have a <code title=attr-area-coords><a href="#coords">coords</a></code>
    attribute.
 
-  <p>In the <a href="#polygon" title=attr-area-shape-poly>polygon state</a>,
+  <p>In the <dfn id=polygon0 title=attr-area-shape-poly>polygon state</dfn>,
    <code><a href="#area">area</a></code> elements must have a <code
    title=attr-area-coords><a href="#coords">coords</a></code> attribute with
    at least six integers, and the number of integers must be even. Each pair
@@ -22984,8 +22991,8 @@
    left and the top of the image in CSS pixels respectively, and all the
    coordinates together must represent the points of the polygon, in order.
 
-  <p>In the <a href="#rectangle" title=attr-area-shape-rect>rectangle
-   state</a>, <code><a href="#area">area</a></code> elements must have a
+  <p>In the <dfn id=rectangle0 title=attr-area-shape-rect>rectangle
+   state</dfn>, <code><a href="#area">area</a></code> elements must have a
    <code title=attr-area-coords><a href="#coords">coords</a></code> attribute
    with exactly four integers, the first of which must be less than the
    third, and the second of which must be less than the fourth. The four
@@ -23195,23 +23202,23 @@
 
      <tbody>
       <tr>
-       <td><a href="#circle" title=attr-area-shape-circle>Circle state</a>
+       <td><a href="#circle0" title=attr-area-shape-circle>Circle state</a>
 
        <td>3
 
       <tr>
-       <td><a href="#default0" title=attr-area-shape-default>Default
+       <td><a href="#default1" title=attr-area-shape-default>Default
         state</a>
 
        <td>0
 
       <tr>
-       <td><a href="#polygon" title=attr-area-shape-poly>Polygon state</a>
+       <td><a href="#polygon0" title=attr-area-shape-poly>Polygon state</a>
 
        <td>6
 
       <tr>
-       <td><a href="#rectangle" title=attr-area-shape-rect>Rectangle
+       <td><a href="#rectangle0" title=attr-area-shape-rect>Rectangle
         state</a>
 
        <td>4
@@ -23224,40 +23231,40 @@
      state:</p>
 
     <dl class=switch>
-     <dt><a href="#circle" title=attr-area-shape-circle>Circle state</a>
+     <dt><a href="#circle0" title=attr-area-shape-circle>Circle state</a>
 
      <dd>Drop any items in the list beyond the third.
 
-     <dt><a href="#default0" title=attr-area-shape-default>Default state</a>
+     <dt><a href="#default1" title=attr-area-shape-default>Default state</a>
 
      <dd>Drop all items in the list.
 
-     <dt><a href="#polygon" title=attr-area-shape-poly>Polygon state</a>
+     <dt><a href="#polygon0" title=attr-area-shape-poly>Polygon state</a>
 
      <dd>Drop the last item if there's an odd number of items.
 
-     <dt><a href="#rectangle" title=attr-area-shape-rect>Rectangle state</a>
+     <dt><a href="#rectangle0" title=attr-area-shape-rect>Rectangle state</a>
 
      <dd>Drop any items in the list beyond the fourth.
     </dl>
 
    <li>
     <p>If the <code title=attr-area-shape><a href="#shape">shape</a></code>
-     attribute represents the <a href="#rectangle"
+     attribute represents the <a href="#rectangle0"
      title=attr-area-shape-rect>rectangle state</a>, and the first number in
      the list is numerically less than the third number in the list, then
      swap those two numbers around.
 
    <li>
     <p>If the <code title=attr-area-shape><a href="#shape">shape</a></code>
-     attribute represents the <a href="#rectangle"
+     attribute represents the <a href="#rectangle0"
      title=attr-area-shape-rect>rectangle state</a>, and the second number in
      the list is numerically less than the fourth number in the list, then
      swap those two numbers around.
 
    <li>
     <p>If the <code title=attr-area-shape><a href="#shape">shape</a></code>
-     attribute represents the <a href="#circle"
+     attribute represents the <a href="#circle0"
      title=attr-area-shape-circle>circle state</a>, and the third number in
      the list is less than or equal to zero, then the shape is empty; abort
      these steps.
@@ -23268,7 +23275,7 @@
      title=attr-area-shape><a href="#shape">shape</a></code> attribute:</p>
 
     <dl class=switch>
-     <dt><a href="#circle" title=attr-area-shape-circle>Circle state</a>
+     <dt><a href="#circle0" title=attr-area-shape-circle>Circle state</a>
 
      <dd>
       <p>Let <var title="">x</var> be the first number in <var
@@ -23280,12 +23287,12 @@
        pixels from the top edge of the image, and whose radius is <var
        title="">r</var> pixels.</p>
 
-     <dt><a href="#default0" title=attr-area-shape-default>Default state</a>
+     <dt><a href="#default1" title=attr-area-shape-default>Default state</a>
 
      <dd>
       <p>The shape is a rectangle that exactly covers the entire image.</p>
 
-     <dt><a href="#polygon" title=attr-area-shape-poly>Polygon state</a>
+     <dt><a href="#polygon0" title=attr-area-shape-poly>Polygon state</a>
 
      <dd>
       <p>Let <var title="">x<sub title=""><var title="">i</var></sub></var>
@@ -23320,7 +23327,7 @@
        -->
       
 
-     <dt><a href="#rectangle" title=attr-area-shape-rect>Rectangle state</a>
+     <dt><a href="#rectangle0" title=attr-area-shape-rect>Rectangle state</a>
 
      <dd>
       <p>Let <var title="">x1</var> be the first number in <var
@@ -28377,7 +28384,7 @@
     href="#radiogroup">radiogroup</a></code>
 
    <dd><code title=attr-command-default><a
-    href="#default1">default</a></code>
+    href="#default2">default</a></code>
 
    <dd>Also, the <code title=attr-command-title><a
     href="#title6">title</a></code> attribute has special semantics on this
@@ -28395,7 +28402,7 @@
            attribute boolean <a href="#disabled5" title=dom-command-disabled>disabled</a>;
            attribute boolean <a href="#checked1" title=dom-command-checked>checked</a>;
            attribute DOMString <a href="#radiogroup0" title=dom-command-radiogroup>radiogroup</a>;
-           attribute boolean <a href="#default2" title=dom-command-default>default</a>;
+           attribute boolean <a href="#default3" title=dom-command-default>default</a>;
  void <a href="#click" title=dom-command-click>click</a>(); // shadows <code><a href="#htmlelement">HTMLElement</a></code>.<code title=dom-click><a href="#click1">click()</a></code>
 };</pre>
 
@@ -28464,12 +28471,12 @@
 
   <p>If the <code><a href="#command0">command</a></code> element is used when
    <span title="menu generation">generating</span> a <span>context
-   menu</span>, then the <dfn id=default1
+   menu</span>, then the <dfn id=default2
    title=attr-command-default><code>default</code></dfn> attribute indicates,
    if present, that the command is the one that would have been invoked if
    the user had directly activated the menu's subject instead of using its
    context menu. The <code title=attr-command-default><a
-   href="#default1">default</a></code> attribute is a <a
+   href="#default2">default</a></code> attribute is a <a
    href="#boolean0">boolean attribute</a>.
 
   <div class=example>
@@ -28486,7 +28493,7 @@
    title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked1
    title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0
    title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn
-   id=default2 title=dom-command-default><code>default</code></dfn> DOM
+   id=default3 title=dom-command-default><code>default</code></dfn> DOM
    attributes must <a href="#reflect">reflect</a> the content attributes of
    the same name.
 
@@ -28985,7 +28992,7 @@
 
    <dd>Append the command to the menu. If the element is a <code><a
     href="#command0">command</a></code> element with a <code
-    title=attr-command-default><a href="#default1">default</a></code>
+    title=attr-command-default><a href="#default2">default</a></code>
     attribute, mark the command as being a default command.</dd>
    <!-- XXX if there's an
    Icon URL for the command, it should be fetched, and then that image
@@ -30701,9 +30708,9 @@
    data mining tools are likely to never instantiate browsing contexts.
 
   <p>The main <a href="#view">view</a> through which a user primarily
-   interacts with a user agent is the <dfn id=default3>default view</dfn>.
+   interacts with a user agent is the <dfn id=default4>default view</dfn>.
 
-  <p class=note>The <a href="#default3">default view</a> of a
+  <p class=note>The <a href="#default4">default view</a> of a
    <code>Document</code> is given by the <code title="">defaultView</code>
    attribute on the <code>Document</code> object's <code>DocumentView</code>
    interface. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
@@ -31022,7 +31029,7 @@
 
   <h3 id=the-default0><span class=secno>5.2 </span>The default view</h3>
 
-  <p>The <code>AbstractView</code> object of <a href="#default3"
+  <p>The <code>AbstractView</code> object of <a href="#default4"
    title="default view">default views</a> must also implement the <code><a
    href="#window">Window</a></code>, <code><a
    href="#windowbrowsingcontext">WindowBrowsingContext</a></code>, and
@@ -31130,7 +31137,7 @@
    href="#browsing1">browsing context</a> has an associated <dfn
    id=list-of2>list of added properties</dfn> that, when a document is <a
    href="#active" title="active document">active</a>, are available on the
-   <code>Document</code>'s <a href="#default3">default view</a>'s <code><a
+   <code>Document</code>'s <a href="#default4">default view</a>'s <code><a
    href="#window">Window</a></code> object. A <code>Document</code> object's
    <a href="#list-of2">list of added properties</a> must be empty when the
    <code>Document</code> object is created.
@@ -43099,7 +43106,7 @@
      the <code title=dom-MessageEvent-source><a
      href="#source3">source</a></code> attribute must be set to the <code><a
      href="#window">Window</a></code> object of the <a
-     href="#default3">default view</a> of the <a href="#browsing1">browsing
+     href="#default4">default view</a> of the <a href="#browsing1">browsing
      context</a> for which the <code>Document</code> object with which the
      script is associated is the <a href="#active">active
      document</a><!--, if there is one, or null
@@ -43186,7 +43193,7 @@
      the <code title=dom-MessageEvent-source><a
      href="#source3">source</a></code> attribute must be set to the <code><a
      href="#window">Window</a></code> object of the <a
-     href="#default3">default view</a> of the <a href="#browsing1">browsing
+     href="#default4">default view</a> of the <a href="#browsing1">browsing
      context</a> for which the <code>Document</code> object with which the
      script is associated is the <a href="#active">active
      document</a><!--, if there is one, or null

Modified: source
===================================================================
--- source	2008-07-26 00:01:08 UTC (rev 1946)
+++ source	2008-07-28 20:12:24 UTC (rev 1947)
@@ -20201,29 +20201,29 @@
      <th>Notes
    <tbody>
     <tr>
-     <td rowspan=2><dfn title="attr-area-shape-circle">Circle state</dfn>
-     <td><code title="">circ</code>
+     <td rowspan=2><span title="attr-area-shape-circle">Circle state</span>
+     <td><dfn title="attr-area-shape-keyword-circ"><code>circ</code></dfn>
      <td>Non-conforming
     <tr>
-     <td><code title="">circle</code>
+     <td><dfn title="attr-area-shape-keyword-circle"><code>circle</code></dfn>
      <td>
     <tr>
-     <td><dfn title="attr-area-shape-default">Default state</dfn>
-     <td><code title="">default</code>
+     <td><span title="attr-area-shape-default">Default state</span>
+     <td><dfn title="attr-area-shape-keyword-default"><code>default</code></dfn>
      <td>
     <tr>
-     <td rowspan=2><dfn title="attr-area-shape-poly">Polygon state</dfn>
-     <td><code title="">poly</code>
+     <td rowspan=2><span title="attr-area-shape-poly">Polygon state</span>
+     <td><dfn title="attr-area-shape-keyword-poly"><code>poly</code></dfn>
      <td>
     <tr>
-     <td><code title="">polygon</code>
+     <td><dfn title="attr-area-shape-keyword-polygon"><code>polygon</code></dfn>
      <td>Non-conforming
     <tr>
-     <td rowspan=2><dfn title="attr-area-shape-rect">Rectangle state</dfn>
-     <td><code title="">rect</code>
+     <td rowspan=2><span title="attr-area-shape-rect">Rectangle state</span>
+     <td><dfn title="attr-area-shape-keyword-rect"><code>rect</code></dfn>
      <td>
     <tr>
-     <td><code title="">rectangle</code>
+     <td><dfn title="attr-area-shape-keyword-rectangle"><code>rectangle</code></dfn>
      <td>Non-conforming
   </table>
 
@@ -20237,7 +20237,7 @@
   attribute. The processing for this attribute is described as part of
   the <span>image map</span> processing model.</p>
 
-  <p>In the <span title="attr-area-shape-circle">circle state</span>,
+  <p>In the <dfn title="attr-area-shape-circle">circle state</dfn>,
   <code>area</code> elements must have a <code
   title="attr-area-coords">coords</code> attribute present, with three
   integers, the last of which must be non-negative. The first integer
@@ -20247,11 +20247,11 @@
   circle, and the third integer must be the radius of the circle,
   again in CSS pixels.</p>
 
-  <p>In the <span title="attr-area-shape-default">default state</span>
+  <p>In the <dfn title="attr-area-shape-default">default state</dfn>
   state, <code>area</code> elements must not have a <code
   title="attr-area-coords">coords</code> attribute.</p>
 
-  <p>In the <span title="attr-area-shape-poly">polygon state</span>,
+  <p>In the <dfn title="attr-area-shape-poly">polygon state</dfn>,
   <code>area</code> elements must have a <code
   title="attr-area-coords">coords</code> attribute with at least six
   integers, and the number of integers must be even. Each pair of
@@ -20260,7 +20260,7 @@
   the coordinates together must represent the points of the polygon,
   in order.</p>
 
-  <p>In the <span title="attr-area-shape-rect">rectangle state</span>,
+  <p>In the <dfn title="attr-area-shape-rect">rectangle state</dfn>,
   <code>area</code> elements must have a <code
   title="attr-area-coords">coords</code> attribute with exactly four
   integers, the first of which must be less than the third, and the




More information about the Commit-Watchers mailing list