The Canvas 2D Context specification requires that getting the font
attribute should return the font string in CSS serialized format even
if the input string is not.  However, Context2dTest.testFont() assumes
that the returned string will be the same as the input string.

Chrome sometime between 19 and 23 started following the W3C
requirement, which causes the test to fail.  Other browsers still
return the input string, so the easiest fix for this test is to use
serialized format for both input and expected output.

http://www.w3.org/TR/2dcontext/#dom-context-2d-font

Change-Id: I53d2a7e1f7760130a9c70d31f3afda45142dde97
Review-Link: https://gwt-review.googlesource.com/#/c/1271/

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11388 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed