[Webkit-unassigned] [Bug 16943] New: LiveJournal popup buttons have a blue background because of "background-color: Menu" rule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 19 17:32:08 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16943

           Summary: LiveJournal popup buttons have a blue background because
                    of "background-color: Menu" rule
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adele at apple.com


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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list