Bug 47634

Summary: WebFont text drawing mangles the clip rect
Product: WebKit Reporter: Brett Wilson (Google) <brettw>
Component: WebKit APIAssignee: Brett Wilson (Google) <brettw>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Patch eric: review-

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]
Patch
Comment 2 Eric Seidel (no email) 2010-12-14 01:53:06 PST
Comment on attachment 70683 [details]
Patch

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