[html5] r4779 - [giow] (2) Let's go with the saner Firefox/Opera behaviour here, as it's closer [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 17 23:06:08 PST 2010


Author: ianh
Date: 2010-02-17 23:06:06 -0800 (Wed, 17 Feb 2010)
New Revision: 4779

Modified:
   complete.html
   index
   source
Log:
[giow] (2) 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...
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8798

Modified: complete.html
===================================================================
--- complete.html	2010-02-18 05:49:04 UTC (rev 4778)
+++ complete.html	2010-02-18 07:06:06 UTC (rev 4779)
@@ -35988,17 +35988,34 @@
 
   <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="">−(<var title="">border<sub title="">left</sub></var>+<var title="">padding<sub title="">left</sub></var>) ≤ <var title="">x</var> ≤ <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="">−(<var title="">border<sub title="">top</sub></var>+<var title="">padding<sub title="">top</sub></var>) ≤ <var title="">y</var> ≤ <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

Modified: index
===================================================================
--- index	2010-02-18 05:49:04 UTC (rev 4778)
+++ index	2010-02-18 07:06:06 UTC (rev 4779)
@@ -35890,17 +35890,34 @@
 
   <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="">−(<var title="">border<sub title="">left</sub></var>+<var title="">padding<sub title="">left</sub></var>) ≤ <var title="">x</var> ≤ <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="">−(<var title="">border<sub title="">top</sub></var>+<var title="">padding<sub title="">top</sub></var>) ≤ <var title="">y</var> ≤ <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

Modified: source
===================================================================
--- source	2010-02-18 05:49:04 UTC (rev 4778)
+++ source	2010-02-18 07:06:06 UTC (rev 4779)
@@ -39850,18 +39850,49 @@
 
   <p>The <dfn 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 <span>valid
+  integer</span> representing a number <var title="">x</var> in the
+  range <span title="">&#x2212;(<var title="">border<sub
+  title="">left</sub></var>+<var title="">padding<sub
+  title="">left</sub></var>) ≤ <var title="">x</var> ≤ <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 <span>valid
+  integer</span> representing a number <var title="">y</var> in the
+  range <span title="">&#x2212;(<var title="">border<sub
+  title="">top</sub></var>+<var title="">padding<sub
+  title="">top</sub></var>) ≤ <var title="">y</var> ≤ <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>




More information about the Commit-Watchers mailing list