[Webkit-unassigned] [Bug 5164] Non-integer percentages are incorrectly rounded down in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 1 16:19:35 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=5164





------- Comment #14 from mitz at webkit.org  2007-01-01 16:19 PDT -------
(In reply to comment #11)
> You can use the existing int (minus 3 bits actually) but store 2 digits after
> the decimal point, i.e. 12.34% would be represented by the integer 1234. This
> would solve the problem in 99.99% of the cases ;-)
> 

I am working on a patch that increases the precision of percent Lengths.
Currently it makes 5 layout tests fail (although the new results are probably
correct).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list