[whatwg] several messages
Ian Hickson
ian at hixie.ch
Fri Jul 23 13:47:29 PDT 2010
On Thu, 18 Mar 2010, Alex Bishop wrote:
>
> In the processing model for image maps (section 4.8.13.2), step 8 of the
> processing instructions for area elements says that if the shape
> attribute is in the Circle state:
>
> > Let x be the first number in coords, y be the second number, and r be
> > the third number.
> >
> > The shape is a circle whose center is x CSS pixels from the left edge
> > of the image and x CSS pixels from the top edge of the image, and
> > whose radius is r pixels.
>
> Surely "x CSS pixels from the top edge of the image" should read "y CSS
> pixels from the top edge of the image"?
On Thu, 18 Mar 2010, Ashley Sheridan wrote:
>
> I think the x here indicates an arbitrary number rather than units along
> the y-axis.
On Fri, 19 Mar 2010, Tab Atkins Jr. wrote:
>
> No, the first sentence of the quote Alex gives makes it clear that "x"
> has a definite meaning, along with "y" and "r". The spec has a typo -
> the distance from the top edge should indeed be "y" pixels, as that is
> the second number in the @coords attribute.
Fixed.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list