Bug 18751

Summary: [Transforms] Textfields behave badly with transforms (caret, focus ring, redraw)
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cmarrin, lukas.hartmann, mitz, simon.fraser, vyphan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 15671, 21906    
Bug Blocks:    

Dave Hyatt
Reported 2008-04-25 20:33:41 PDT
When you transform a textfield, e.g., rotate it 10 degrees, you see horrible repaint problems. (1) The caret doesn't blink properly. (2) You see two focus rings, one offset from the other (3) The contents don't always update right
Attachments
Simon Fraser (smfr)
Comment 1 2008-10-24 14:40:14 PDT
*** Bug 20772 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 2 2008-10-24 14:40:24 PDT
Bug 20772 has a testcase.
Simon Fraser (smfr)
Comment 3 2008-10-27 15:34:15 PDT
Split off focus ring drawing into bug 21906.
Simon Fraser (smfr)
Comment 4 2008-10-27 15:45:07 PDT
Split off caret drawing into bug 21907.
Simon Fraser (smfr)
Comment 5 2008-11-06 18:15:03 PST
Content updating is broken by LayoutState issues. When typing in a textarea, FrameView::layout() is laying out a subtree, in which case it pushes a LayoutState for the root (which is ignoring transforms). RenderBox::computeAbsoluteRepaintRect() then picks up that LayoutState and gets an offset that ignores transforms.
Simon Fraser (smfr)
Comment 6 2012-05-16 10:11:36 PDT
*** Bug 86626 has been marked as a duplicate of this bug. ***
Radar WebKit Bug Importer
Comment 7 2012-08-23 10:11:35 PDT
Simon Fraser (smfr)
Comment 8 2012-08-28 16:26:37 PDT
See also bug 94985.
Simon Fraser (smfr)
Comment 9 2013-01-22 15:45:13 PST
Caret issue was fixed by bug 15671.
Note You need to log in before you can comment on or make changes to this bug.