- From: Ian Hickson <ian@hixie.ch>
- Date: Sat, 2 Jul 2005 01:07:01 +0000 (UTC)
- To: Christian Biesinger <cbiesinger@web.de>
- Cc: www-style@w3.org
On Sat, 18 Jun 2005, Christian Biesinger wrote: > > I got a question about the hotspot position values. They are defined to > be a <number>, i.e. non-integer values are allowed. But, what is the > meaning of a non-integer value? For that matter, what is the unit of the > x/y position? I would assume (device) pixels, but the spec does not > say... And a non-integer value for a pixel unit does not make much sense > to me. We discussed this on IRC, but just for completeness, the numbers are not device pixels, they are image coordinate space units. So if the image has a coordinate space of 0..1, 0.5 would be the middle of the image. If the image has coordinate square space in the range 0..31 (as a Windows .cur file might) then 0,0 would be the top left side, and 33,-2 would be two pixels to the right and above the top right corner. HTH, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 2 July 2005 01:07:06 UTC