commit | fd9af8971833ee0d2af7d13bae28eb61092c6e65 | [log] [tgz] |
---|---|---|
author | mdempsky@google.com <mdempsky@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Nov 27 00:10:42 2012 +0000 |
committer | mdempsky@google.com <mdempsky@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Nov 27 00:10:42 2012 +0000 |
tree | a3066072161e96ba908b22f060e7e40c40e3f8f1 | |
parent | 10397a771b88f5278db591abbe0a41f0b6eb7941 [diff] |
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