[Laszlo-dev] [JIRA] Updated: (LPP-7655) dhtml: Visual artifacts and placement issues around shadow artwork

Max Carlson max at openlaszlo.org
Fri Jan 23 00:57:41 PST 2009


P T Withington wrote:
> On 2009-01-20, at 23:44EST, Max Carlson (JIRA) wrote:
> 
>> Details: Use Math.round() instead of Math.floor() for CSS positioning.
> 
> Just curious, CSS does not allow fractional position values?

http://www.w3.org/TR/CSS21/syndata.html#value-def-length says decimals 
are allowed, but I seem to remember it tripping up some browsers when we 
let them through...

Also, it's bad for memoization, but that's another can of worms.

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list