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
: WebKit
CSS
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
: data:text/html,<input style="position...
:
:
:
  Show dependency treegraph
 
Reported: 2012-03-21 18:54 PST by
Modified: 2013-05-23 06:40 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-03-21 18:54:49 PST
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.