Bug 20029 - Add a short introduction to "Range modification under document mutation"
Add a short introduction to "Range modification under document mutation"
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: DOM
unspecified
All Windows 3.1
: P2 enhancement
: ---
Assigned To: Anne
public-webapps-bugzilla
http://dom.spec.whatwg.org/#ranges
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-20 21:02 UTC by Mats Palmgren
Modified: 2012-12-17 16:50 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mats Palmgren 2012-11-20 21:02:24 UTC
The old spec has a short introduction to "Range modification under document mutation" here:
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html#Level-2-Range-Mutation

I kind of like that since it gives the reader an idea of how mutations affects
ranges "in a nutshell".  I can't find anything like it in the new spec.
Specifically, I'd like the new spec to adopt the general principles:

"There are two general principles which apply to Ranges under document mutation: The first is that all Ranges in a document will remain valid after any mutation operation and the second is that, as much as possible, all Ranges will select the same portion of the document after any mutation operation."
Comment 1 Anne 2012-11-20 21:08:28 UTC
Yeah, we need a section 'Introduction to "Ranges"'. It can probably be one or two paragraphs there with pointers to the various algorithms throughout the specification.