[html5] r2451 - [giow] (2) WF2: Sigh. Browsers do <input type-image> coordinates relative to the [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Nov 25 20:07:46 PST 2008
Author: ianh
Date: 2008-11-25 20:07:46 -0800 (Tue, 25 Nov 2008)
New Revision: 2451
Modified:
index
source
Log:
[giow] (2) WF2: Sigh. Browsers do <input type-image> coordinates relative to the border, not the image. (credit: sp)
Modified: index
===================================================================
--- index 2008-11-26 03:48:35 UTC (rev 2450)
+++ index 2008-11-26 04:07:46 UTC (rev 2451)
@@ -26162,9 +26162,14 @@
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. 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.</p>
+ 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. -->
<hr><p>The <code title=attr-fs-action><a href=#attr-fs-action>action</a></code>, <code title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>, <code title=attr-fs-method><a href=#attr-fs-method>method</a></code>, <code title=attr-fs-novalidate><a href=#attr-fs-novalidate>novalidate</a></code>, and <code title=attr-fs-target><a href=#attr-fs-target>target</a></code> attributes are <a href=#form-submission>attributes
for form submission</a>.</p>
Modified: source
===================================================================
--- source 2008-11-26 03:48:35 UTC (rev 2450)
+++ source 2008-11-26 04:07:46 UTC (rev 2451)
@@ -29231,15 +29231,19 @@
element's <span>form owner</span> from the <code>input</code>
element.</p>
- <p>The <dfn
- title="concept-input-type-image-coordinate">selected
+ <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. 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.</p>
+ 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. -->
<hr>
More information about the Commit-Watchers
mailing list