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:    

Description Dave Hyatt 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
Comment 1 Simon Fraser (smfr) 2008-10-24 14:40:14 PDT
*** Bug 20772 has been marked as a duplicate of this bug. ***
Comment 2 Simon Fraser (smfr) 2008-10-24 14:40:24 PDT
Bug 20772 has a testcase.
Comment 3 Simon Fraser (smfr) 2008-10-27 15:34:15 PDT
Split off focus ring drawing into bug 21906.
Comment 4 Simon Fraser (smfr) 2008-10-27 15:45:07 PDT
Split off caret drawing into bug 21907.
Comment 5 Simon Fraser (smfr) 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.
Comment 6 Simon Fraser (smfr) 2012-05-16 10:11:36 PDT
*** Bug 86626 has been marked as a duplicate of this bug. ***
Comment 7 Radar WebKit Bug Importer 2012-08-23 10:11:35 PDT
<rdar://problem/12160675>
Comment 8 Simon Fraser (smfr) 2012-08-28 16:26:37 PDT
See also bug 94985.
Comment 9 Simon Fraser (smfr) 2013-01-22 15:45:13 PST
Caret issue was fixed by bug 15671.