[wp-trac] [WordPress Trac] #9011: Add last CSS class for UL and OL Lists

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 16:49:27 UTC 2011


#9011: Add last CSS class for UL and OL Lists
-----------------------------+------------------------
 Reporter:  viriava          |       Owner:  anonymous
     Type:  feature request  |      Status:  reopened
 Priority:  low              |   Milestone:
Component:  Template         |     Version:  2.8
 Severity:  minor            |  Resolution:
 Keywords:  css xhtml        |
-----------------------------+------------------------
Changes (by hm2k):

 * keywords:  css, xhtml => css xhtml
 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 As far as I am aware, Wordpress supports _all_ browsers, including older
 ones (unlike [http://yuilibrary.com/yui/docs/tutorials/gbs/ Yahoo's Graded
 Browser support])

 Using :first-child shouldn't be a problem as it was part of the 1998 CSS2
 specification.

 However, :last-child was introduced in the 2009 "Selectors Level 3"
 specification.

 According to [http://fmbip.com/litmus litmus tests], IE6, IE7 and IE8 do
 not support :last-child.

 According to [http://www.ie6countdown.com/ Microsoft IE6 still over 9%
 world wide market share], while
 [http://en.wikipedia.org/wiki/Usage_share_of_web_browsers others report
 around 40% market share for Internet Explorer overall].

 While I agree, and hope that bad browsers will "die off", surely we can't
 ignore _current_ browsers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9011#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list