[whatwg] [editing] HTML Editing APIs specification ready for implementer feedback

Here's my feedback on sections 1-3.  I'll provide feedback on the rest 
of the specification in the near future.

3.2
* The "gecko" prefix should be changed to "moz", to be compatible with 
other Gecko specific prefixes.
* Do we have any other case where the HTML spec says that a browser can 
change its behavior if it's upgraded in the middle of the browsing session?

3.3
* Gecko currently has some problems in returning the correct status of a 
command based on the active range, so the results obtained from Firefox 
here should not be a determining factor (see 
https://bugzilla.mozilla.org/show_bug.cgi?id=676401).
* On the same note, I actually think that WebKit's behavior makes sense. 
  We need to make sure that _something_ happens when the command is 
executed after making sure that queryCommandEnabled returns true.  If 
the beginning of the active range falls into an editable section, that 
would happen (perhaps to part of the range).  Initially I thought that 
it would be better to return true if any range in the selection falls 
into the editable section, but that wouldn't make a lot of sense if the 
range spans across multiple contentEditable sections.

Cheers,
Ehsan

Received on Thursday, 4 August 2011 15:47:17 UTC