Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Support for "reversed" Attribute on Ordered Lists? #422

impressivewebs opened this Issue · 3 comments

2 participants

Louis Lazaris Paul Irish
Louis Lazaris

I don't see anything in the docs or GitHub issues that mentions the "reversed" attribute on ordered lists. Can this be added? Has it been discussed?

I've written what I believe to be an accurate polyfill for the "reversed" attribute on ordered lists:

It also takes into consideration the "start" attribute. More info on these here:

Paul Irish

i would imagine its

'reversed' in document.createElement('ol')
Louis Lazaris

So this works:

if (!('reversed' in document.createElement('ol'))) { }


Paul Irish

added in 2759a52

Paul Irish paulirish closed this
patrick kettner patrickkettner referenced this issue from a commit in patrickkettner/Modernizr
Paul Irish paulirish detection for ol[reversed]. fixes #422 49efc8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.