Bug 140439 - focusing an input in a transform:scale() iframe, the outer body scrolls to wrong position
Summary: focusing an input in a transform:scale() iframe, the outer body scrolls to wr...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/annam/kkraLbhf/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-14 06:34 PST by Annam
Modified: 2015-01-14 21:22 PST (History)
5 users (show)

See Also:


Attachments

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