[Webkit-unassigned] [Bug 67566] New: Wrong sizing of absolutely positioned form fields when both left/right are set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Sep 3 11:10:18 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=67566
Summary: Wrong sizing of absolutely positioned form fields when
both left/right are set
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://jsfiddle.net/leaverou/PTxSE/4/show
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: me at leaverou.me
CC: simon.fraser at apple.com
Webkit treats form fields just like every other element and when both left and right are set, it stretches them horizontally to satisfy both declarations.
However this, convenient as it may be, is opposed to both what every other engine is doing AND the specification:
"The used value of ‘width’ and ‘height’ is determined as for inline replaced elements."
>From http://www.w3.org/TR/css3-box/#abs-replaced
A blog post describing this issue: http://snook.ca/archives/html_and_css/absolute-position-textarea
It also happens with inputs: http://jsfiddle.net/leaverou/PTxSE/4/show
But not all replaced elements: http://jsfiddle.net/leaverou/PTxSE/3/show
It also doesn't happen with top/bottom, only left/right: http://jsfiddle.net/leaverou/PTxSE/5/show
I also tested on Windows, and it's reproducible there as well.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list