Tilted carets become normal if they're scroll out of and back into viewport

NEW
Unassigned

Status

()

defect
P4
normal
7 months ago
7 months ago

People

(Reporter: TYLin, Unassigned)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Steps to reproduce:
1. On desktop, set pref layout.accessiblecaret.hide_carets_for_mouse_input=false and layout.accessiblecaret.enabled=true.
2. Open an arbitrary page
3. Select a character, the carets should be it tilt mode, i.e. the left caret is tilted to the left, and the right caret is tilted to the right.
4. Scroll the page up so that both carets are out of viewport.
5. Scroll the page down to bring both carets back into the viewport.

Expected result:
The carets remain in tilt mode.

Actual result:
The carets become normal mode.

This bug affects only non-Android devices because Android is in always tilt mode [1].

[1] https://searchfox.org/mozilla-central/rev/0ee0b63732d35d16ba22d5a1120622e2e8d58c29/mobile/android/app/mobile.js#819
You need to log in before you can comment on or make changes to this bug.