Bug 16943
Summary: | LiveJournal popup buttons have a blue background because of "background-color: Menu" rule | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adele Peterson <adele> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bdakin, hyatt, mitz |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Adele Peterson
LiveJournal (recently??) added a css rule in one of their stylesheets for <select> that causes their site's popup buttons to be blue in Safari.
<select style="background-color: Menu"><option>All Friends</select>
In other browsers, they just ignore this rule. In Safari, CSSSelector::getColorFromPrimitiveValue looks up a system color for CSS_VAL_MENU, which on the mac, gets mapped to [NSColor selectedMenuItemColor] (in RenderThemeMac).
I'm not sure which step in our process is wrong here.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
I think this is bug 16943.
mitz
I am *sure* this is bug 16943 :-)
What I meant was that I think this is bug 16905.
mitz
*** This bug has been marked as a duplicate of 16905 ***