Bug 18751
Summary: | [Transforms] Textfields behave badly with transforms (caret, focus ring, redraw) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dave Hyatt <hyatt> |
Component: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
*** Bug 20772 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Bug 20772 has a testcase.
Simon Fraser (smfr)
Split off focus ring drawing into bug 21906.
Simon Fraser (smfr)
Split off caret drawing into bug 21907.
Simon Fraser (smfr)
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)
*** Bug 86626 has been marked as a duplicate of this bug. ***
Radar WebKit Bug Importer
<rdar://problem/12160675>
Simon Fraser (smfr)
See also bug 94985.
Simon Fraser (smfr)
Caret issue was fixed by bug 15671.