Bug 22118 - [Transforms] Clicks on the textfield resize handle fail in transformed elements
Summary: [Transforms] Clicks on the textfield resize handle fail in transformed elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks: 22120
  Show dependency treegraph
 
Reported: 2008-11-06 17:14 PST by Simon Fraser (smfr)
Modified: 2008-11-16 19:46 PST (History)
1 user (show)

See Also:


Attachments
Patch, testcase, changelog (8.88 KB, patch)
2008-11-16 11:33 PST, Simon Fraser (smfr)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-11-06 17:14:08 PST
When a <textarea> is inside a transformed element, clicks on the resize handle don't work.
Comment 1 Simon Fraser (smfr) 2008-11-06 17:35:02 PST
Some weird code here. EventHandler caches m_offsetFromResizeCorner, and the resize code is in RenderLayer, not, for example, RenderTextControl or TextControlInnerTextElement.
Comment 2 Simon Fraser (smfr) 2008-11-06 17:37:28 PST
This code is using RenderLayer::convertToLayerCoords() to map points from absolute to local coords, and that codepath is no transform-aware. Teh suck.
Comment 3 Simon Fraser (smfr) 2008-11-16 11:33:44 PST
Created attachment 25198 [details]
Patch, testcase, changelog
Comment 4 mitz 2008-11-16 19:27:44 PST
Comment on attachment 25198 [details]
Patch, testcase, changelog

r=me
Comment 5 Simon Fraser (smfr) 2008-11-16 19:46:59 PST
http://trac.webkit.org/changeset/38474