w3c / selection-api

Selection API
http://w3c.github.io/selection-api/
Other
47 stars 30 forks source link

Is Selection.removeAllRanges() and Selection.removeRange(range) doing the same thing? #48

Closed paritosh-in closed 9 years ago

paritosh-in commented 9 years ago

One more point, what is range, in Selection.removeAllRanges() when we are saying if the context object's range is range`.

rniwa commented 9 years ago

Thanks! Fixed it in the commit above.