Bug 47634 - WebFont text drawing mangles the clip rect
Summary: WebFont text drawing mangles the clip rect
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Brett Wilson (Google)
Depends on:
Reported: 2010-10-13 16:18 PDT by Brett Wilson (Google)
Modified: 2010-12-14 01:53 PST (History)
0 users

See Also:

Patch (1.14 KB, patch)
2010-10-13 16:32 PDT, Brett Wilson (Google)
eric: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Wilson (Google) 2010-10-13 16:18:41 PDT
WebFontImpl::drawText doesn't save and restore the GraphicsContext around setting the clip, so the GC will have the clip rect still applied after the call returns.
Comment 1 Brett Wilson (Google) 2010-10-13 16:32:50 PDT
Created attachment 70683 [details]
Comment 2 Eric Seidel (no email) 2010-12-14 01:53:06 PST
Comment on attachment 70683 [details]

How do we test this?  What tests does this affect?