Bug 57520
| Summary: | <select> control does not inherit styles properly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Thierry <thierry.koblentz> |
| Component: | Forms | Assignee: | 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 | ||
Thierry
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;
}
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |