[whatwg] Nested list
ian at hixie.ch
Thu Sep 3 17:13:32 PDT 2009
On Thu, 3 Sep 2009, Ojan Vafai wrote:
> I don't see what the problem here is. How is it wrong? Why can't a list be a
> type of list item?
The request was for <ol> to be directly inside <ol>, which makes no sense.
> Focusing more on practicalities, every browser produces and deals correctly
> with this type of HTML.
The spec defines how to process it.
> Given that contentEditable is used by just about every rich-text email
> or blog-posting service, it's not like browsers can stop supporting this
> without breaking a very long tail of sites with user-generated content.
Stop supporting what?
> Internet Explorer, Firefox, Opera, Safari and Chrome all nest lists
> inside lists when you call execCommand('indent') on a list item. What
> practical reason is there for them all to change this behavior?
We shouldn't encourage bad markup.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg