Bug 26436 - Chromium's canvas forgets its context after fillText
Summary: Chromium's canvas forgets its context after fillText
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: David Levin
URL: https://bugs.webkit.org/attachment.cg...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 00:48 PDT by Shinichiro Hamaji
Modified: 2009-06-25 13:36 PDT (History)
1 user (show)

See Also:


Attachments
test case (387 bytes, text/html)
2009-06-16 00:49 PDT, Shinichiro Hamaji
no flags Details
Patch v1 (5.24 KB, patch)
2009-06-16 01:00 PDT, Shinichiro Hamaji
dglazkov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shinichiro Hamaji 2009-06-16 00:48:27 PDT
Chromium's canvas on Windows restore its context after fillText. This doesn't happen with Safari and linux chrome. I think this is the bug of glue code. I'll upload a patch.

Related chromium bug: http://code.google.com/p/chromium/issues/detail?id=14065
Comment 1 Shinichiro Hamaji 2009-06-16 00:49:18 PDT
Created attachment 31339 [details]
test case
Comment 2 Shinichiro Hamaji 2009-06-16 01:00:16 PDT
Created attachment 31340 [details]
Patch v1

 LayoutTests/ChangeLog                              |   17 +++++++
 .../fast/canvas/resources/translate-text.js        |   46 ++++++++++++++++++++
 .../fast/canvas/translate-text-expected.txt        |   10 ++++
 LayoutTests/fast/canvas/translate-text.html        |   13 ++++++
 WebCore/ChangeLog                                  |   15 ++++++
 .../platform/graphics/chromium/TransparencyWin.cpp |    1 +
 6 files changed, 102 insertions(+), 0 deletions(-)
Comment 3 David Levin 2009-06-25 10:32:36 PDT
Assign to levin for landing.
Comment 4 David Levin 2009-06-25 13:36:26 PDT
Committed as http://trac.webkit.org/changeset/45188.