Skip to content

Commit

Permalink
[giow] (2) Be more precise about what counts as scaling for image map…
Browse files Browse the repository at this point in the history
… coordinates.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13453

git-svn-id: http://svn.whatwg.org/webapps@6503 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 17, 2011
1 parent d279109 commit a81962b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
11 changes: 8 additions & 3 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -38919,9 +38919,14 @@ <h5 id=processing-model><span class=secno>4.8.14.2 </span>Processing model</h5>
</dd>

</dl><p>For historical reasons, the coordinates must be interpreted
relative to the <em>displayed</em> image, even if it stretched
using CSS or the image element's <code title="">width</code> and
<code title="">height</code> attributes.</p>
relative to the <em>displayed</em> image after any stretching
caused by the CSS 'width' and 'height' properties (or, for non-CSS
browsers, the image element's <code title="">width</code> and
<code title="">height</code> attributes &mdash; CSS browsers map
those attributes to the aforementioned CSS properties).</p>

<p class=note>Browser zoom features and transforms applied using
CSS or SVG do not affect the coordinates.</p>

</li>

Expand Down
11 changes: 8 additions & 3 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -38786,9 +38786,14 @@ function AddCloud(data, x, y) { ... }</pre>
</dd>

</dl><p>For historical reasons, the coordinates must be interpreted
relative to the <em>displayed</em> image, even if it stretched
using CSS or the image element's <code title="">width</code> and
<code title="">height</code> attributes.</p>
relative to the <em>displayed</em> image after any stretching
caused by the CSS 'width' and 'height' properties (or, for non-CSS
browsers, the image element's <code title="">width</code> and
<code title="">height</code> attributes &mdash; CSS browsers map
those attributes to the aforementioned CSS properties).</p>

<p class=note>Browser zoom features and transforms applied using
CSS or SVG do not affect the coordinates.</p>

</li>

Expand Down
11 changes: 8 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -43156,9 +43156,14 @@ function AddCloud(data, x, y) { ... }</pre>
</dl>

<p>For historical reasons, the coordinates must be interpreted
relative to the <em>displayed</em> image, even if it stretched
using CSS or the image element's <code title="">width</code> and
<code title="">height</code> attributes.</p>
relative to the <em>displayed</em> image after any stretching
caused by the CSS 'width' and 'height' properties (or, for non-CSS
browsers, the image element's <code title="">width</code> and
<code title="">height</code> attributes &mdash; CSS browsers map
those attributes to the aforementioned CSS properties).</p>

<p class="note">Browser zoom features and transforms applied using
CSS or SVG do not affect the coordinates.</p>

</li>

Expand Down

0 comments on commit a81962b

Please sign in to comment.