Bug 26436

Summary: Chromium's canvas forgets its context after fillText
Product: WebKit Reporter: Shinichiro Hamaji <hamaji>
Component: WebCore Misc.Assignee: David Levin <levin>
Status: RESOLVED FIXED    
Severity: Normal CC: hamaji
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
URL: https://bugs.webkit.org/attachment.cgi?id=31339
Attachments:
Description Flags
test case
none
Patch v1 dglazkov: review+

Shinichiro Hamaji
Reported 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
Attachments
test case (387 bytes, text/html)
2009-06-16 00:49 PDT, Shinichiro Hamaji
no flags
Patch v1 (5.24 KB, patch)
2009-06-16 01:00 PDT, Shinichiro Hamaji
dglazkov: review+
Shinichiro Hamaji
Comment 1 2009-06-16 00:49:18 PDT
Created attachment 31339 [details] test case
Shinichiro Hamaji
Comment 2 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(-)
David Levin
Comment 3 2009-06-25 10:32:36 PDT
Assign to levin for landing.
David Levin
Comment 4 2009-06-25 13:36:26 PDT
Note You need to log in before you can comment on or make changes to this bug.