Bug 57520 - <select> control does not inherit styles properly
Summary: <select> control does not inherit styles properly
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://tjkdesign.com/lab/select.html
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 19:33 PDT by Thierry
Modified: 2011-03-30 19:33 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;
}