[wp-trac] [WordPress Trac] #26060: Add and utilize :nth-child() selectors rather than the .alt(ernate) classes

WordPress Trac noreply at wordpress.org
Wed Jan 14 22:13:06 UTC 2015


#26060: Add and utilize :nth-child() selectors rather than the .alt(ernate) classes
-------------------------+---------------------------------
 Reporter:  helen        |       Owner:  helen
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.2
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  ui, administration
-------------------------+---------------------------------
Changes (by helen):

 * owner:   => helen
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31181"]:
 {{{
 #!CommitTicketReference repository="" revision="31181"
 List tables: Use CSS :nth-child() selectors for zebra striping.

 Note that this does not fix issues related to comment quick edit. Internal
 linking also continues to use the `.alternate` class for now. IE8 and
 below gracefully degrade by not having zebra striping.

 There is some hoop jumping with adding an extra table row to maintain
 zebra striping during quick edit. Documenting that here for future
 reference; it is also in the inline documentation.

 fixes #30981 and #26060. see #25060.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26060#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list