Open Bug 1517385 Opened 2 years ago Updated 10 hours ago
Tilted carets become normal if they're scroll out of and back into viewport
47 bytes, text/x-phabricator-request
|Details | Review|
2.77 KB, patch
|Details | Diff | Splinter Review|
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 .  https://searchfox.org/mozilla-central/rev/0ee0b63732d35d16ba22d5a1120622e2e8d58c29/mobile/android/app/mobile.js#819
Run the test via `./mach reftest layout/reftests/bugs/1517385.html`.
Attachment #9182788 - Attachment is obsolete: true
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/2d480000f34e Use "visibility: hidden" to keep the frame of AccessibleCaret alive. r=TYLin
Flags: needinfo?(lonocvb) → needinfo?(aethanyc)
You need to log in before you can comment on or make changes to this bug.