W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2010

hixie: Let's go with the saner Firefox/Opera behaviour here, as it's closer to the (still insane) IE behaviour than the WebKit behaviour we previously had... (whatwg r4779)

From: poot <cvsmail@w3.org>
Date: Thu, 18 Feb 2010 16:06:29 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100218070629.7BFE92BBF1@toro.w3.mag.keio.ac.jp>
hixie: Let's go with the saner Firefox/Opera behaviour here, as it's
closer to the (still insane) IE behaviour than the WebKit behaviour we
previously had... (whatwg r4779)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3826&r2=1.3827&f=h
http://html5.org/tools/web-apps-tracker?from=4778&to=4779

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3826
retrieving revision 1.3827
diff -u -d -r1.3826 -r1.3827
--- Overview.html	18 Feb 2010 05:49:09 -0000	1.3826
+++ Overview.html	18 Feb 2010 07:06:11 -0000	1.3827
@@ -28967,16 +28967,33 @@
 
   <p>The <dfn id="concept-input-type-image-coordinate" title="concept-input-type-image-coordinate">selected
   coordinate</dfn> must consist of an <var title="">x</var>-component
-  and a <var title="">y</var>-component. The <var title="">x</var>-component must be greater than or equal to zero,
-  and less than or equal to the rendered width, in CSS pixels, of the
-  image, plus the widths of the left and right borders rendered around
-  the image, if any. The <var title="">y</var>-component must be
-  greater than or equal to zero, and less than or equal to the
-  rendered height, in CSS pixels, of the image, plus the widths of the
-  top and bottom bordered rendered around the image, if any. The
-  coordinates must be relative to the image's borders, where there are
-  any, and the edge of the image otherwise.</p> <!-- legacy browser
-  behavior sometimes does some sure wacky things. -->
+  and a <var title="">y</var>-component. The coordinates represent the
+  position relative to the edge of the image, with the coordinate
+  space having the positive <var title="">x</var> direction to the
+  right, and the positive <var title="">y</var> direction
+  downwards.</p>
+
+  <p>The <var title="">x</var>-component must be a <a href="#valid-integer">valid
+  integer</a> representing a number <var title="">x</var> in the
+  range <span title="">&minus;(<var title="">border<sub title="">left</sub></var>+<var title="">padding<sub title="">left</sub></var>) &le; <var title="">x</var> &le; <var title="">width</var>+<var title="">border<sub title="">right</sub></var>+<var title="">padding<sub title="">right</sub></var></span>, where <var title="">width</var>
+  is the rendered width of the image, <var title="">border<sub title="">left</sub></var> is the width of the border on the left of
+  the image, <var title="">padding<sub title="">left</sub></var> is
+  the width of the padding on the left of the image, <var title="">border<sub title="">right</sub></var> is the width of the
+  border on the right of the image, and <var title="">padding<sub title="">right</sub></var> is the width of the padding on the right
+  of the image, with all dimensions given in CSS pixels.</p>
+
+  <p>The <var title="">y</var>-component must be a <a href="#valid-integer">valid
+  integer</a> representing a number <var title="">y</var> in the
+  range <span title="">&minus;(<var title="">border<sub title="">top</sub></var>+<var title="">padding<sub title="">top</sub></var>) &le; <var title="">y</var> &le; <var title="">height</var>+<var title="">border<sub title="">bottom</sub></var>+<var title="">padding<sub title="">bottom</sub></var></span>, where <var title="">height</var>
+  is the rendered height of the image, <var title="">border<sub title="">top</sub></var> is the width of the border above the image,
+  <var title="">padding<sub title="">top</sub></var> is the width of
+  the padding above the image, <var title="">border<sub title="">bottom</sub></var> is the width of the border below the
+  image, and <var title="">padding<sub title="">bottom</sub></var> is
+  the width of the padding below the image, with all dimensions given
+  in CSS pixels.</p>
+
+  <p>Where a border or padding is missing, its width is zero CSS
+  pixels.</p>
 
   <hr></div><p>The <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code>, <code title="attr-fs-formenctype"><a href="#attr-fs-formenctype">formenctype</a></code>, <code title="attr-fs-formmethod"><a href="#attr-fs-formmethod">formmethod</a></code>, <code title="attr-fs-formnovalidate"><a href="#attr-fs-formnovalidate">formnovalidate</a></code>, and <code title="attr-fs-formtarget"><a href="#attr-fs-formtarget">formtarget</a></code> attributes are <a href="#attributes-for-form-submission">attributes
   for form submission</a>.<div class="bookkeeping">
Received on Thursday, 18 February 2010 07:06:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:17 GMT