Skip to content Skip to sidebar Skip to footer

Where Did The Text Selection API Go?

Two years ago the HTML5 standard dropped the chapter 'Text Selection API' which contained a specification of the Selection interface: [Stringifies] interface Selection { readonly

Solution 1:

It moved to WHATWG's DOM Range spec. The Range portion of that document has very recently (within the last week or so) been migrated to W3C's DOM4 spec.

This leaves the WHATWG Range spec in the position of being rather misleadlingly named. I'm not sure whether there are plans to move the Selection stuff again but I wouldn't bet against it.

Update February 2013

The Selection portion of the spec is currently found in the HTML Editing APIs spec.


Post a Comment for "Where Did The Text Selection API Go?"