Permalink
Browse files

For img[ismap], remove the extra border calculation for reporting coo…

…rdinates (#914)

Align with FF/Chrome/wwg/expectations of other browsers
  • Loading branch information...
travisleithead authored and chaals committed May 19, 2017
1 parent e0cf4c7 commit 64cc838e2d073a09f3c74121af64a994ea471265
Showing with 6 additions and 6 deletions.
  1. +6 −6 sections/semantics-textlevel.include
@@ -112,12 +112,12 @@
<code>ismap</code> attribute specified, then server-side image map processing must be
performed, as follows:
1. If the <code>click</code> event was a real pointing-device-triggered <code>click</code>
event on the <{img}> element, then let <var>x</var> be the distance in CSS
pixels from the left edge of the image's left border, if it has one, or the left edge of
the image otherwise, to the location of the click, and let <var>y</var> be the distance
in CSS pixels from the top edge of the image's top border, if it has one, or the top
edge of the image otherwise, to the location of the click. Otherwise, let <var>x</var>
and <var>y</var> be zero.
event on the <{img}> element, then let |x| be the distance in CSS
pixels from the left edge of the image
to the location of the click, and let |y| be the distance
in CSS pixels from the top edge of the image
to the location of the click. Otherwise, let |x|
and |y| be zero.
2. Let <var>hyperlink suffix</var> be a U+003F QUESTION MARK character, the value of
<var>x</var> expressed as a base-ten integer using <a>ASCII digits</a>, a U+002C COMMA
character (,), and the value of <var>y</var> expressed as a base-ten integer using

0 comments on commit 64cc838

Please sign in to comment.