Bug 113055 - placeholder element causes page width to expand on orientation change
Summary: placeholder element causes page width to expand on orientation change
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Android Android
: P2 Normal
Assignee: Nobody
URL: http://jsbin.com/alekar/1/
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 07:15 PDT by Jeff
Modified: 2013-03-22 07:15 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2013-03-22 07:15:44 PDT
load the page in portrait mode and rotate to landscape. rotating the phone back to portrait you can see the page width is not correctly resized. 

changing placeholder to the standard value attribute you'll see the correct behavior.

this is occurring on iPhone's Safari as well as the Android chrome on a phone i have running 4.2, but not in the standard webkit browser available on Android.

it seems tied to the viewport tag as it only happens when either initial-scale or maximum scale is set.