WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 6248
10337
Cannot alternate background colors in a select for 'rule' effect coloring
https://bugs.webkit.org/show_bug.cgi?id=10337
Summary
Cannot alternate background colors in a select for 'rule' effect coloring
j_mckitrick
Reported
2006-08-10 15:12:25 PDT
Many apps alternate default background and a shaded or highlight background to help the eye follow items horizontally in a list box. I cannot get any combination of CSS, divs, spans, and options to change the background color of a list box on an item-by-item basis.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2006-08-11 14:46:45 PDT
Based on the description this sounds like you want CSS 3's "nth-child" pseudo-selector. See
http://www.w3.org/TR/css3-selectors/#nth-child-pseudo
for more information. *** This bug has been marked as a duplicate of
6248
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug