You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is an excerpt of step 8 of Element Send Keys where we must pick the "first matching" case. If, for example, the user attempts to send keys to a contenteditable p element, if the spec is followed precisely it will never reach the "Element is content editable" case as the above case always qualifies as "something other than a text input control"
The user agent renders element as something other than a text input control (for example an input element in the color state being presented as a colorwheel):
If element does not have an own property named value return an error with error code element not interactable
If element is not mutable return an error with error code element not interactable.
Set a property value to text on element.
If element is suffering from bad input return an error with error code invalid argument.
Return success with data null.
Element is content editable
Set the text insertion caret after any child content.
I believe the problem would be fixed if the two cases below have their order switched.
The text was updated successfully, but these errors were encountered:
In chapter 12. Elements, section 12.4 Interaction:
Below is an excerpt of step 8 of Element Send Keys where we must pick the "first matching" case. If, for example, the user attempts to send keys to a contenteditable
p
element, if the spec is followed precisely it will never reach the "Element is content editable" case as the above case always qualifies as "something other than a text input control"I believe the problem would be fixed if the two cases below have their order switched.
The text was updated successfully, but these errors were encountered: