[Webkit-unassigned] [Bug 86784] New: WebKit erroneously add 1px padding in input elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 17 16:02:52 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86784
Summary: WebKit erroneously add 1px padding in input elements
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: hyatt at apple.com, adele at apple.com, tkent at chromium.org
Created an attachment (id=142575)
--> (https://bugs.webkit.org/attachment.cgi?id=142575&action=review)
screenshot demonstrating the bug
Open the following HTML in WebKit. WebKit renders the caret inside the input element with extra 1px padding whereas the caret inside the textarea doesn't have this 1px padding.
<html>
<head>
<style type="text/css">
.common {
font-family: arial,sans-serif;
padding-left: 10px;
border: 1px solid #D9D9D9;
}
</style>
</head>
<body>
<input type="text" class="common" value="|">
<br>
<textarea class="common">|</textarea>
</body>
</html>
tkent identified this is caused by:
http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp#L481
which was added in http://trac.webkit.org/changeset/13567.
http://crbug.com/128086
--
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