[Webkit-unassigned] [Bug 108881] Canvas fillText and measureText handle ideographic spaces differently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 02:55:43 PDT 2013


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





--- Comment #30 from Christophe Dumez <dchris at gmail.com>  2013-08-12 02:55:18 PST ---
(From update of attachment 208518)
View in context: https://bugs.webkit.org/attachment.cgi?id=208518&action=review

> Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:95
> +// Spec : http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character

This link is not needed.

> Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:98
> +    return (isHTMLSpace(c) || c == 0x000B);

You need to add a comment to explain why we treat 0x000B as a space here (backward compatibility and consistency with Firefox).

-- 
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