W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] Control over selection direction

From: Marijn Haverbeke <marijnh@gmail.com>
Date: Thu, 13 Jan 2011 20:11:11 +0100
Message-ID: <AANLkTi=CawsvVFK3-MKtQuepd7xdbcPprhqYLc9yC8+q@mail.gmail.com>
> Isn't this use case addressed better by being able to clone a Selection and
> set it later? ?Such feature will also let you emulate selection's behavior
> before you modify the actual selection, and seems to serve other use cases
> as well.

I'm probably misunderstanding you. How would the browser know how to
restore the cloned selection after the content of the input has
changed?
Received on Thursday, 13 January 2011 11:11:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC