This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25964 - Consider following paragraph from "Image maps" -> "Processing model": "If the shape attribute repres [...]
Summary: Consider following paragraph from "Image maps" -> "Processing model": "If the...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 16:53 UTC by contributor
Modified: 2014-08-06 00:21 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-06-03 16:53:17 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html
Multipage: http://www.whatwg.org/C#processing-model-0
Complete: http://www.whatwg.org/c#processing-model-0
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Consider following paragraph from "Image maps" -> "Processing model": "If the
shape attribute represents the rectangle state, and the second number in the
list is numerically less than the fourth number in the list, then swap those
two numbers around."
Isn't the condition inverted? According to "The area element": " In the
rectangle state, area elements must have a coords attribute with exactly four
integers, the first of which must be less than the third, and the second of
which must be less than the fourth."
I suspect that "less than" should be changed to "greater than" in the
comparison condition in "Processing model".

Posted from: 213.33.220.118
User agent: Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
Comment 1 Ian 'Hixie' Hickson 2014-06-03 18:17:33 UTC
Yeah, that should be the other way around. Oops.
Comment 2 contributor 2014-08-06 00:10:01 UTC
Checked in as WHATWG revision r8712.
Check-in comment: Fix logic error in image maps
http://html5.org/tools/web-apps-tracker?from=8711&to=8712