WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
120465
Button inputs do not follow the rules for replaced absolutely positioned elements correctly
https://bugs.webkit.org/show_bug.cgi?id=120465
Summary
Button inputs do not follow the rules for replaced absolutely positioned elem...
Boris Zbarsky
Reported
2013-08-29 05:49:02 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 button inputs. Gecko, Presto, and Trident all do this right last I checked.
Attachments
Add attachment
proposed patch, testcase, etc.
Boris Zbarsky
Comment 1
2013-08-29 05:53:23 PDT
> the width should be the width a text input would normally have
I meant a button input.
Ahmad Saleem
Comment 2
2022-09-18 03:34:19 PDT
Test Case from URL field -
https://jsfiddle.net/yw7391fk/show
Safari Technology Preview 153 and Chrome Canary 108 behave same and extend the input button field to full width of viewport while Firefox Nightly 106 does not extend it at all. I think it should be in RADAR. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug