[Webkit-unassigned] [Bug 119567] LayoutTests/canvas/philip/tests/2d.text.draw.space.collapse.nonspace.html is against the spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 27 16:25:36 PDT 2013


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


Ian 'Hixie' Hickson <ian at hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at hixie.ch




--- Comment #6 from Ian 'Hixie' Hickson <ian at hixie.ch>  2013-08-27 16:24:59 PST ---
This test seems bogus to me -- how do you know what the font will draw U+000B as?

A better test would be something like comparing these two calls:

   ctx.fillText("E \x0b E", ...
   ctx.fillText("E E", ...

...to see if the two spaces collapse into one.

There should probably also be a separate test that checks the text in:

   http://www.w3.org/TR/css3-text/#white-space-processing

...saying that control characters in general should be ignored...

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