[Webkit-unassigned] [Bug 107380] New: Specifying the width/height of an input element modifies its margin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 19 14:23:51 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107380

           Summary: Specifying the width/height of an input element
                    modifies its margin
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mike.sherov at gmail.com


Repro steps:
1. Please http://jsfiddle.net/JZSMt/4/
2. I query getComputedStyle, and retrieve the height property of the input element without a specified height, and then set that value back in as the height style attribute value.

What happens: the marginTop and marginBottom values change from "2px" to "0px".

What I expect: the margin to remain unchanged.

This behavior deviates from FF, IE9+, and Opera, but is present in Safari 6.0 and Chrome as of this writing.

-- 
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