html5/spec Overview.html,1.1990,1.1991

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

Modified Files:
	Overview.html 
Log Message:
Change how we define the handling of 'cursor' for <area>, to handle area { cursor: inhert }. (credit: db) (whatwg r2820)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1990
retrieving revision 1.1991
diff -u -d -r1.1990 -r1.1991
--- Overview.html	13 Feb 2009 19:54:06 -0000	1.1990
+++ Overview.html	13 Feb 2009 20:03:54 -0000	1.1991
@@ -47777,13 +47777,20 @@
   <code><a href=#the-img-element>img</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#video>video</a></code>
   elements, and <code><a href=#the-input-element>input</a></code> elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, <a href=#maps-to-the-pixel-length-property title="maps to the pixel length property">map to the dimension
   properties</a> 'width' and 'height' on the element
-  respectively.<h4 id=image-maps-0><span class=secno>10.3.4 </span>Image maps</h4><p>When a user is designating a shape on an <a href=#image-map>image map</a>,
-  if that shape's <code><a href=#the-area-element>area</a></code> element's 'cursor' property has a
-  value explicitly specified (as opposed to inheriting it from the
-  element's parent), then the user agent is expected to use that value
-  as the cursor. Otherwise, the user agent is expected to use the
-  computed value of the 'cursor' property from the <code><a href=#the-img-element>img</a></code> or
-  <code><a href=#the-object-element>object</a></code> element.<h4 id=tool-bars-0><span class=secno>10.3.5 </span>Tool bars</h4><p>When a <code><a href=#menus>menu</a></code> element's <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute is in the <a href=#tool-bar-state title="tool bar state">tool bar</a> state, the element is
+  respectively.<h4 id=image-maps-0><span class=secno>10.3.4 </span>Image maps</h4><p>Shapes on an <a href=#image-map>image map</a> are expected to act, for the
+  purpose of the CSS cascade, as elements independent of the original
+  <code><a href=#the-area-element>area</a></code> element that happen to match the same style rules
+  but inherit from the <code><a href=#the-img-element>img</a></code> or <code><a href=#the-object-element>object</a></code>
+  element.<p>For the purposes of the rendering, only the 'cursor' property is
+  expected to have any effect on the shape.<p class=example>Thus, for example, if an <code><a href=#the-area-element>area</a></code>
+  element has a <code title=attr-style><a href=#the-style-attribute>style</a></code> attribute that
+  sets the 'cursor' property to 'help', then when the user designates
+  that shape, the cursor would change to a Help cursor.<p class=example>Similarly, if an <code><a href=#the-area-element>area</a></code> element had a
+  CSS rule that set its 'cursor' property to 'inherit' (or if no rule
+  setting the 'cursor' property matched the element at all), the
+  shape's cursor would be inherited from the <code><a href=#the-img-element>img</a></code> or
+  <code><a href=#the-object-element>object</a></code> element of the <a href=#image-map>image map</a>, not from
+  the parent of the <code><a href=#the-area-element>area</a></code> element.<h4 id=tool-bars-0><span class=secno>10.3.5 </span>Tool bars</h4><p>When a <code><a href=#menus>menu</a></code> element's <code title=attr-menu-type><a href=#attr-menu-type>type</a></code> attribute is in the <a href=#tool-bar-state title="tool bar state">tool bar</a> state, the element is
   expected to be treated as a replaced element with a height about two
   lines high and a width derived from the contents of the element.<p>The element is expected to have, by default, the appearance of a
   tool bar on the user agent's platform. It is expected to contain the

Received on Friday, 13 February 2009 20:04:06 UTC