[Webkit-unassigned] [Bug 51566] TextMetrics::width is an integer, but the member is a float

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 23 16:26:23 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51566





--- Comment #3 from Evan Martin <evan at chromium.org>  2010-12-23 16:26:23 PST ---
I tried changing it to a float and still got integers out.

Spec says the width should be "CSS pixels", which I think can be floating point.  I'll upload a patch and see what y'all think.

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-measuretext

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



More information about the webkit-unassigned mailing list