Bug 140439

Summary: focusing an input in a transform:scale() iframe, the outer body scrolls to wrong position
Product: WebKit Reporter: Annam <annami>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: annami, benjamin, jhoneycutt, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://jsfiddle.net/annam/kkraLbhf/

Description Annam 2015-01-14 06:34:30 PST
Check out this JSFiddle:

http://jsfiddle.net/annam/kkraLbhf/

Focus on the input and start typing. the document scrolls to where the input would appear, if the iframe was not under transform:scale();

Also happens to me as soon as you click to focus the input in some cases, though not consistently.
Comment 1 Annam 2015-01-14 06:38:15 PST
happens in safari and chrome on both mac and windows.
Comment 2 Radar WebKit Bug Importer 2015-01-14 09:56:26 PST
<rdar://problem/19471657>
Comment 3 Simon Fraser (smfr) 2015-01-14 21:17:57 PST
Note: the fiddle needs to have the -webkit- prefix added to the transform functions to work in Safari.