Bug 57520

Summary: <select> control does not inherit styles properly
Product: WebKit Reporter: Thierry <thierry.koblentz>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://tjkdesign.com/lab/select.html

Description Thierry 2011-03-30 19:33:16 PDT
As the test-case referenced in the URL field shows, the following styling fails:

select {
    font:inherit;
    color:inherit;
}

Note that if the select is styled with border-*, background-* or may be other declarations then the above rules kicks in.

Reduced test-case:

form {
    color:teal;
    font-size:2em;
    font-family:monospace;
    font-style:italic;
    font-weight:bold;
}
/* this rule is ignored by webkit/Mac */
select {
    font:inherit;
    color:inherit;
}