Comments on: The ol Element and Related Attributes: type, start, value, and reversed https://stevefaulkner.github.io/html5doctored/ol-element-attributes/ helping you implement HTML5 today Fri, 10 Jun 2016 14:41:36 +0000 hourly 1 By: Andreas Rejbrand https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-37311 Wed, 07 Aug 2013 15:58:00 +0000 http://html5doctor.com/?p=4397#comment-37311 @Janet: Have a look at “CSS counters”. You can learn more about this topic, for instance, at Mozilla.

]]>
By: Janet Ward https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-37241 Mon, 05 Aug 2013 17:51:50 +0000 http://html5doctor.com/?p=4397#comment-37241 HELP can any one help me. Is there a way to use CSS number style to format the following style.
1
1.1
1.2
2
2.1
2.2
etc?

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-29022 Fri, 12 Oct 2012 15:16:18 +0000 http://html5doctor.com/?p=4397#comment-29022 @Ralf MC — Three comes after two, so that’s what I’d expect (unless the list was reversed). Unique numbering doesn’t seem like a good goal if you’re manually numbering some items using value. Both of your suggestions would make some custom lists impossible — people want to do all kinds of crazy stuff — plus be really hard to spec and implement.

IE6 was used to check browser support (not standards conformance) as it was in the ancient past of 11 years ago ;-)

]]>
By: Ralf MC https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-28851 Fri, 17 Aug 2012 11:14:20 +0000 http://html5doctor.com/?p=4397#comment-28851 This really creeps me out:


<ol>
<li value="3">3</li>
<li value="2">2</li>
<li>?</li>
</ol>

My browser answers ‘3’, what does yours come up with?!

I would say that it should have been either ‘4’ (skip the ‘3’ that is already there) or ‘1’ (implied reverse attribute). What do you think?

@ Oli: IE6 hardly seems a standards conformance checker for any standard. ;-)

]]>
By: Col https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-25290 Thu, 19 Apr 2012 10:12:09 +0000 http://html5doctor.com/?p=4397#comment-25290 I’m really looking forward to more support for the reversed attribute!

Great article.

]]>
By: Oli Studholme https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-24666 Sun, 26 Feb 2012 12:00:25 +0000 http://html5doctor.com/?p=4397#comment-24666 @ Alohci — thanks! :)

@Pascal — I don’t know, but I strongly suspect “since forever”, as these are HTML 3.2 attributes. I just checked IE6 and they work there.

]]>
By: Thierry https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-24658 Sun, 26 Feb 2012 02:39:12 +0000 http://html5doctor.com/?p=4397#comment-24658 Nice write-up. I think you cover pretty much everything there is to know.
Thanks!

]]>
By: Raksaka Indra https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-24636 Sat, 25 Feb 2012 13:12:54 +0000 http://html5doctor.com/?p=4397#comment-24636 It’s a new knowledge about ol element using type, start, value, reserved. Nice post… :D

]]>
By: Pascal https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-24615 Fri, 24 Feb 2012 08:57:11 +0000 http://html5doctor.com/?p=4397#comment-24615 Very intersting !
Juste a precision : when you say that “start”, “value” and “type” are supported by IE, you mean which version ? (I don’t find it on caniuse website).
Cheers

]]>
By: Alohci https://stevefaulkner.github.io/html5doctored/ol-element-attributes/#comment-24539 Wed, 22 Feb 2012 00:43:06 +0000 http://html5doctor.com/?p=4397#comment-24539 @Kevin – If I recall correctly such an idea was discussed on the w3c public-html mailing list (and probably elsewhere) and while it seems a good idea it raises all kinds of practical problems.

For example, what should happen if list A says it follows from list B, and list B says it follows from list A? What happens if list B and list C both say they follow from list A? Or what happens if list C says it follows from list B which says it follows list A, and then list B is deleted from the DOM in script?

No-one seemed to consider the use case valuable enough to want to identify all the possible issues that could arise, and define what should happen in each and every case, and then be in a position to get the browser manufacturers to sign up to implement it consistently.

]]>