[Webkit-unassigned] [Bug 85150] New: REGRESSION (r113511): Many autofilled form fields lack the default autofill background even when authors don’t override the autofill colors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 28 21:10:09 PDT 2012


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

           Summary: REGRESSION (r113511): Many autofilled form fields lack
                    the default autofill background even when authors
                    don’t override the autofill colors
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: https://accounts.google.com/Login
        OS/Version: Unspecified
            Status: NEW
          Keywords: Regression
          Severity: Normal
          Priority: P1
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org
                CC: mjs at apple.com, darin at apple.com, isherman at chromium.org


After <http://webkit.org/r113511>, the fix for bug 66032, many autofilled form fields no longer have the default autofilled appearance (light yellow background). The intent of that change was to allow authors to override the autofilled appearance explicitly using the -webkit-autofill pseudoclass. However, after that change, any rule with equal or higher specificity than the rules in the default style sheet, even if it doesn’t use the pseudoclass, can override the default autofill style.

For example, in the URL, an author rule like
    input[type=text] { background-color: white; }
overrides the UA rule
    input:-webkit-autofill { background-color: #FAFFBD; }

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