Skip to content
Permalink
Browse files

[giow] (2) Fix logic error in image maps

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25964
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8712 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Aug 6, 2014
1 parent 8a5dee2 commit 0854a6a14667faf2b48c5022b05cd1eee4a57351
Showing with 3 additions and 3 deletions.
  1. +1 −1 complete.html
  2. +1 −1 index
  3. +1 −1 source


<li><p>If the <code id=processing-model-2:attr-area-shape-3><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-3>rectangle state</a>, and the first number in the list is <li><p>If the <code id=processing-model-2:attr-area-shape-3><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-3>rectangle state</a>, and the first number in the list is
numerically less than the third number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-4><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-4>rectangle state</a>, and the second number in the list is numerically less than the third number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-4><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-4>rectangle state</a>, and the second number in the list is
numerically less than the fourth number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-5><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-circle id=processing-model-2:attr-area-shape-circle-3>circle state</a>, and the third number in the list is less than numerically greater than the fourth number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-5><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-circle id=processing-model-2:attr-area-shape-circle-3>circle state</a>, and the third number in the list is less than
or equal to zero, then the shape is empty; abort these steps.<li><p>Now, the shape represented by the element is the one described for the entry in the list or equal to zero, then the shape is empty; abort these steps.<li><p>Now, the shape represented by the element is the one described for the entry in the list
below corresponding to the state of the <code id=processing-model-2:attr-area-shape-6><a href=#attr-area-shape>shape</a></code> attribute:</p> below corresponding to the state of the <code id=processing-model-2:attr-area-shape-6><a href=#attr-area-shape>shape</a></code> attribute:</p>


2 index


<li><p>If the <code id=processing-model-2:attr-area-shape-3><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-3>rectangle state</a>, and the first number in the list is <li><p>If the <code id=processing-model-2:attr-area-shape-3><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-3>rectangle state</a>, and the first number in the list is
numerically less than the third number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-4><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-4>rectangle state</a>, and the second number in the list is numerically less than the third number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-4><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-rect id=processing-model-2:attr-area-shape-rect-4>rectangle state</a>, and the second number in the list is
numerically less than the fourth number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-5><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-circle id=processing-model-2:attr-area-shape-circle-3>circle state</a>, and the third number in the list is less than numerically greater than the fourth number in the list, then swap those two numbers around.<li><p>If the <code id=processing-model-2:attr-area-shape-5><a href=#attr-area-shape>shape</a></code> attribute represents the <a href=#attr-area-shape-circle id=processing-model-2:attr-area-shape-circle-3>circle state</a>, and the third number in the list is less than
or equal to zero, then the shape is empty; abort these steps.<li><p>Now, the shape represented by the element is the one described for the entry in the list or equal to zero, then the shape is empty; abort these steps.<li><p>Now, the shape represented by the element is the one described for the entry in the list
below corresponding to the state of the <code id=processing-model-2:attr-area-shape-6><a href=#attr-area-shape>shape</a></code> attribute:</p> below corresponding to the state of the <code id=processing-model-2:attr-area-shape-6><a href=#attr-area-shape>shape</a></code> attribute:</p>


2 source


<li><p>If the <code data-x="attr-area-shape">shape</code> attribute represents the <span <li><p>If the <code data-x="attr-area-shape">shape</code> attribute represents the <span
data-x="attr-area-shape-rect">rectangle state</span>, and the second number in the list is data-x="attr-area-shape-rect">rectangle state</span>, and the second number in the list is
numerically less than the fourth number in the list, then swap those two numbers around.</p></li> numerically greater than the fourth number in the list, then swap those two numbers around.</p></li>


<li><p>If the <code data-x="attr-area-shape">shape</code> attribute represents the <span <li><p>If the <code data-x="attr-area-shape">shape</code> attribute represents the <span
data-x="attr-area-shape-circle">circle state</span>, and the third number in the list is less than data-x="attr-area-shape-circle">circle state</span>, and the third number in the list is less than

0 comments on commit 0854a6a

Please sign in to comment.
You can’t perform that action at this time.