[Webkit-unassigned] [Bug 120465] New: Text inputs do not follow the rules for replaced absolutely positioned elements correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 29 05:49:39 PDT 2013


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

           Summary: Text inputs do not follow the rules for replaced
                    absolutely positioned elements correctly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: data:text/html,<input type="button" style="position:
                    absolute; left: 0; right: 0">
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bzbarsky at mit.edu


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.

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