<br><div class="gmail_quote">On Mon, Jul 13, 2009 at 4:01 AM, Simon Pieters <span dir="ltr"><<a href="mailto:simonp@opera.com">simonp@opera.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
<br></div>
I think this is a bug in execCommand('indent') and should be fixed in browsers.<br>
<br>
The spec doesn't seem to list 'indent' at all. It would be helpful if it was specified.<div><div></div><div class="h5"></div></div></blockquote><div><br></div><div>Yes, we need to specify how execCommand('indent' / 'insertorderedlist' / 'insertunorderedlist') works.  But given that major UAs(Firefox, Internet Explorer, & WebKit) directly inserts ol / ul element without enclosing it with li element, I think we should allow that construct in HTML5.</div>
<div><br></div><div>On Mon, Jul 13, 2009 at 4:07 AM, Adrian Sutton <span dir="ltr"><<a href="mailto:adrian.sutton@ephox.com">adrian.sutton@ephox.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br>It does introduce complexities when you try to indent list items more than<br>one level deeper than it's parent, but semantically that really doesn't make<br>sense anyway. You can make it work by adding a new list item but with<br>
list-style-type: none specified.</blockquote></div><div><br></div><div>You still need to deal with margin / padding so you may specify them as well.  As you said, it's very hard to make UA-generated HTML correct.  But since major UAs produce the same DOM (ul / ol immediately inside another ul / ol), I don't see why we can't add that to HTML5 spec.  After all, all we need to do is to allow li / ul / ol elements inside ul / ol instead of just li.</div>
<div><br></div><div>Does anyone see a serious compatibility issue with adding ol / ul as child nodes of ol / ul?  I feel like not allowing them is more problematic given the situation.</div><div><br></div><div>Ryosuke</div>
</div>