diff options
author | Jon Leighton <j@jonathanleighton.com> | 2017-11-17 21:34:35 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2017-11-18 22:33:05 +0100 |
commit | 6beda3c76103ee8391b961b457f3e3e364e5f8fe (patch) | |
tree | bb8bd3bd1751adda249d04271dd1d7332b53cde3 /python/servo/testing_commands.py | |
parent | f290cacccddb1a8fd2eaf13c364f08a5ee7afe88 (diff) | |
download | servo-6beda3c76103ee8391b961b457f3e3e364e5f8fe.tar.gz servo-6beda3c76103ee8391b961b457f3e3e364e5f8fe.zip |
Extract common text control selection code
The API for text control selection is the same for both <input> and
<textarea>:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#textFieldSelection
Before this change, they had similar but not identical implementations
with duplicate code. Now there is a common TextControl trait which
contains the implementation used by both. As a result, some previously
failing tests now pass.
Diffstat (limited to 'python/servo/testing_commands.py')
0 files changed, 0 insertions, 0 deletions