--- a/autoimplementation.html Mon May 16 14:48:56 2011 -0600
+++ b/autoimplementation.html Mon May 16 14:56:46 2011 -0600
@@ -959,8 +959,7 @@
'<ol><li>foo<ol><li>bar</ol>[baz]</ol>',
'<ol><li>[foo<ol><li>bar]</ol>baz</ol>',
- // Random stuff
- 'foo<ol><li>[bar<li>baz]</ol>quz',
+ // Attribute handling on lists
'foo<ol start=5><li>[bar]</ol>baz',
'foo<ol id=abc><li>[bar]</ol>baz',
'foo<ol style=color:red><li>[bar]</ol>baz',
@@ -969,6 +968,14 @@
'foo<ol><li style=color:red>[bar]</ol>baz',
'<ol><li>foo</li><ol><li value=5>[bar]</ol></ol>',
'<ul><li>foo</li><ol><li value=5>[bar]</ol></ul>',
+ '<ol><li>foo</li><ol start=5><li>[bar]</ol><li>baz</ol>',
+ '<ol><li>foo</li><ol id=abc><li>[bar]</ol><li>baz</ol>',
+ '<ol><li>foo</li><ol style=color:red><li>[bar]</ol><li>baz</ol>',
+ '<ol><li>foo</li><ol style=text-indent:1em><li>[bar]</ol><li>baz</ol>',
+ '<ol><li>foo</li><ol start=5><li>[bar<li>baz]</ol><li>quz</ol>',
+ '<ol><li>foo</li><ol id=abc><li>[bar<li>baz]</ol><li>quz</ol>',
+ '<ol><li>foo</li><ol style=color:red><li>[bar<li>baz]</ol><li>quz</ol>',
+ '<ol><li>foo</li><ol style=text-indent:1em><li>[bar<li>baz]</ol><li>quz</ol>',
],
removeformat: [
'foo[]bar',
--- a/editcommands.html Mon May 16 14:48:56 2011 -0600
+++ b/editcommands.html Mon May 16 14:56:46 2011 -0600
@@ -3084,6 +3084,13 @@
can't group <code class=external data-anolis-spec=html title="the li element"><a href=http://www.whatwg.org/html/#the-li-element>li</a></code>s. If the list we're outdenting is a child of a non-list,
then we can just change it to a div.
</div>
+ <!--
+ Chrome 12 dev seems to special-case style attributes by converting them to
+ the corresponding inline markup elements (at least in easy cases like color).
+ For other attributes and non-WebKit browsers (IE9/FF4/O11.10), it looks like
+ all the attributes are just removed. Maybe we should try to copy WebKit
+ here.
+ -->
<ol>
<li>Unset the <code class=external data-anolis-spec=html title=attr-ol-reversed><a href=http://www.whatwg.org/html/#attr-ol-reversed>reversed</a></code>, <code class=external data-anolis-spec=html title=attr-ol-start><a href=http://www.whatwg.org/html/#attr-ol-start>start</a></code>, and <code class=external data-anolis-spec=html title=attr-ol-type><a href=http://www.whatwg.org/html/#attr-ol-type>type</a></code> attributes of <var title="">node</var>, if any are
--- a/source.html Mon May 16 14:48:56 2011 -0600
+++ b/source.html Mon May 16 14:56:46 2011 -0600
@@ -3132,6 +3132,13 @@
can't group [[li]]s. If the list we're outdenting is a child of a non-list,
then we can just change it to a div.
</div>
+ <!--
+ Chrome 12 dev seems to special-case style attributes by converting them to
+ the corresponding inline markup elements (at least in easy cases like color).
+ For other attributes and non-WebKit browsers (IE9/FF4/O11.10), it looks like
+ all the attributes are just removed. Maybe we should try to copy WebKit
+ here.
+ -->
<ol>
<li>Unset the <code data-anolis-spec=html