Open Bug 1541454 Opened 5 years ago Updated 2 years ago

`<input>` elements initially don't have `selectionDirection == "none"` on Mac/OSX

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

People

(Reporter: mbrodesser-Igalia, Unassigned)

References

Details

Reproduction steps:

  1. Use a Mac/OSX.
  2. Open developer console.
  3. Open data:text/html,<input type="text" id="t"> <script> x = document.getElementById("t"); console.log(x.selectionDirection)</script>
  4. Observe output "forward".

Actual behaviour: output is "forward".
Expected behaviour: output is "none" (as specified in the note at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#set-the-selection-direction).

Note: on Windows the expected behaviour is different.

Summary: `<input>` elements initially don't have `selectionDirection == "none"` → `<input>` elements initially don't have `selectionDirection == "none"` on Mac/OSX
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.