Bug 81863 - Text inputs do not follow the rules for replaced absolutely positioned elements correctly
: Text inputs do not follow the rules for replaced absolutely positioned elemen...
Status: NEW
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To: Nobody
data:text/html,<input style="position...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-21 18:54 PDT by Boris Zbarsky
Modified: 2013-05-23 06:40 PDT (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 Boris Zbarsky 2012-03-21 18:54:49 PDT
Consider the testcase in the url field.  In WebKit this renders with the input stretching the full width of the viewport.  Per CSS 2.1 section 10.3.8, the width should be the width a text input would normally have (rule 1 in 10.3.8), and the 'right' value should be ignored because the values are over-constrained (rule 6 in 10.3.8).

WebKit gets this right for images, but not for text inputs.

Gecko, Presto, and Trident all do this right.