forked from whatwg/html
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up selection direction handling
This fixes the issue noted in whatwg#2437 (comment) where the spec sometimes assumed it was OK to set the selection direction to none, even though not all platforms support this. It introduces a new concept, "set the selection direction", which will convert "none" to "forward" as appropriate. This commit also makes a couple editorial tweaks: * Replaces the italicized selection direction states with simple strings, which allows us to avoid a switch statement to translate between them. * Splits out getter and setters in <input> and <textarea>'s value IDL attribute definitions, and gives the setters a proper numbered list.
- Loading branch information
Showing
1 changed file
with
82 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters