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 28149 - Swapping of the first and third entry in the coords list for the rectangle shape is backwards
Summary: Swapping of the first and third entry in the coords list for the rectangle sh...
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: https://html.spec.whatwg.org/#process...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 02:16 UTC by contributor
Modified: 2015-08-28 14:59 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2015-03-06 02:16:37 UTC
Specification: https://html.spec.whatwg.org/multipage/embedded-content.html
Multipage: https://html.spec.whatwg.org/multipage/#processing-model-2
Complete: https://html.spec.whatwg.org/#processing-model-2
Referrer: https://html.spec.whatwg.org/multipage/semantics.html

Comment:
Swapping of the first and third entry in the coords list for the rectangle
shape is backwards

Posted from: 98.110.194.132
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:39.0) Gecko/20100101 Firefox/39.0
Comment 1 Boris Zbarsky 2015-03-06 02:17:38 UTC
The list is supposed to be x1 y1 x2 y2 where (x1, y1) is top left and (x2, y2) is bottom right.  But the spec says:

  If the shape attribute represents the rectangle state, and the first number in
  the list is numerically less than the third number in the list, then swap those
  two numbers around.

which is backwards: it should be "greater", not "less".
Comment 2 Anne 2015-08-28 10:08:40 UTC
https://github.com/whatwg/html/pull/27