html: Fix an issue of type-change-state.html about selectionDirection="none"
type-change-state.html contains assertions for the following operation in [1]: > ..., and set its selection direction to "none". However it had an issue that the assertions checked if input.selectionDirection was "none". According to [2], input.selectionDirection can be "forward" on specific platforms. > update the element's selection direction to the given direction, unless > the direction is "none" and the platform does not support that direction; > in that case, update the element's selection direction to "forward". [1] https://html.spec.whatwg.org/multipage/input.html#the-input-element:set-the-selection-direction [2] https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#set-the-selection-direction Change-Id: Idc1a97fbb2036e351a788a1f758b3239308d8c71 Reviewed-on: https://chromium-review.googlesource.com/c/1322264Reviewed-by:Rakina Zata Amni <rakina@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#606310}
Showing
File moved
Please register or sign in to comment