[webkit-dev] [New DOM property] selectionDirection on HTMLInputElement and HTMLTextAreaElement

Ryosuke Niwa rniwa at webkit.org
Thu Jul 14 17:46:56 PDT 2011


Hi all,

I have a patch to add selectionDirection property on HTMLInputElement and
HTMLTextAreaElement on https://bugs.webkit.org/show_bug.cgi?id=60403.

The purpose of this property is to let websites control base and extent of
selection.  The property has been added to the HTML5 spec section
4.10.20<http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#textFieldSelection>,
and an extensive discussion about this
feature<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-January/029814.html>
has
been done on whatwg.  Given the discussion took place on whatwg and how
simple this API is, I consider it to be a stable API.

Best,
Ryosuke Niwa
Software Engineer
Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110714/2afcb5da/attachment.html>


More information about the webkit-dev mailing list