Bug 18751 - [Transforms] Textfields behave badly with transforms (caret, focus ring, redraw)
Summary: [Transforms] Textfields behave badly with transforms (caret, focus ring, redraw)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 20772 86626 (view as bug list)
Depends on: 15671 21906
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-25 20:33 PDT by Dave Hyatt
Modified: 2013-01-22 15:45 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.