Note spec bug to fix tomorrow
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Mon, 02 May 2011 16:03:45 -0600
changeset 82 68df597a4835
parent 81 08585da74e99
child 83 f06a645b704b
Note spec bug to fix tomorrow
autoimplementation.html
editcommands.html
source.html
--- a/autoimplementation.html	Mon May 02 16:00:59 2011 -0600
+++ b/autoimplementation.html	Mon May 02 16:03:45 2011 -0600
@@ -491,6 +491,7 @@
 		'foobar<br>[ba]z<p>extra',
 		'foobar<br><br><br><br>[ba]z<p>extra',
 		'foo[bar<br>ba]z<p>extra',
+		'<div>foo<p>[bar]</div><p>extra',
 
 		// These mimic existing indentation in various browsers, to see how
 		// they cope with indenting twice.  This is Gecko non-CSS and Opera:
--- a/editcommands.html	Mon May 02 16:00:59 2011 -0600
+++ b/editcommands.html	Mon May 02 16:03:45 2011 -0600
@@ -593,8 +593,6 @@
 <p>When a user agent is to <dfn id=block-extend>block-extend</dfn> a <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-range title=concept-range>range</a>
 <var title="">range</var>, it must run the following steps:
 
-<p class=XXX>Surely I can come up with a better name.
-
 <ol>
   <li>Let <var title="">start node</var>, <var title="">start offset</var>, <var title="">end node</var>,
   and <var title="">end offset</var> be the <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-range-start title=concept-range-start>start</a> and <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-range-end title=concept-range-end>end</a> <a class=external data-anolis-spec=domrange href=http://html5.org/specs/dom-range.html#concept-boundary-point-node title=concept-boundary-point-node>nodes</a>
@@ -617,6 +615,10 @@
     <var title="">start offset</var> minus one is a <code class=external data-anolis-spec=domcore><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#text>Text</a></code> or <code class=external data-anolis-spec=domcore><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#comment>Comment</a></code> node, or an
     (insert definition here), subtract one from <var title="">start offset</var>.
 
+    <p class=XXX>This is wrong if the child we're currently before is a block
+    element.  We should only decrement if the current and previous children are
+    both inline.  Also, should I just use <a href=#inline-node>inline node</a> here?
+
     <p class=XXX>The definition should include all inline elements except
     &lt;br&gt;.  As elsewhere, we have trouble with the exact definition because
     HTML doesn't classify non-conforming elements, but those are common in
--- a/source.html	Mon May 02 16:00:59 2011 -0600
+++ b/source.html	Mon May 02 16:03:45 2011 -0600
@@ -588,8 +588,6 @@
 <p>When a user agent is to <dfn>block-extend</dfn> a [[range]]
 <var>range</var>, it must run the following steps:
 
-<p class=XXX>Surely I can come up with a better name.
-
 <ol>
   <li>Let <var>start node</var>, <var>start offset</var>, <var>end node</var>,
   and <var>end offset</var> be the [[rangestart]] and [[rangeend]] [[bpnodes]]
@@ -612,6 +610,10 @@
     <var>start offset</var> minus one is a [[text]] or [[comment]] node, or an
     (insert definition here), subtract one from <var>start offset</var>.
 
+    <p class=XXX>This is wrong if the child we're currently before is a block
+    element.  We should only decrement if the current and previous children are
+    both inline.  Also, should I just use <span>inline node</span> here?
+
     <p class=XXX>The definition should include all inline elements except
     &lt;br>.  As elsewhere, we have trouble with the exact definition because
     HTML doesn't classify non-conforming elements, but those are common in