[Webkit-unassigned] [Bug 150224] New: a DOM-element's style.width differs from canvas.measureText for identical string and css
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 15 23:11:11 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=150224
Bug ID: 150224
Summary: a DOM-element's style.width differs from
canvas.measureText for identical string and css
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Unspecified
OS: Mac OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: daniel.boehringer at uniklinik-freiburg.de
when i size a string in canvas with a css font, i expect that a span containing the same string and the same css font returns the same width (style.with property), given zero border/maring and zero padding settings.
this is not the case in safari (any version, any OS).
works as expected in the other major browsers.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151016/edad2c16/attachment.html>
More information about the webkit-unassigned
mailing list