Closed Bug 1653893 Opened 4 years ago Closed 4 years ago

Wrong text position with RTL in Google search box

Categories

(Core :: DOM: Selection, defect)

80 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr68 --- wontfix
firefox-esr78 --- wontfix
firefox79 --- wontfix
firefox80 --- wontfix
firefox81 --- fix-optional

People

(Reporter: over68, Unassigned)

References

Details

(Keywords: regression)

Steps to reproduce:

  1. Open https://www.google.com/search?hl=ar.
  2. Type e.g. goo.
  3. Press the Down key.
  4. Type anything.

See https://youtu.be/v4sw1igxGBk

Actual results:

Position the text on the left, see screenshot.

I think this is a regression from bug 1077515 (doesn't appear in the range in comment 1).

This seems to behave correctly for me on macOS; may be a platform-dependent difference. Bug 1077515 does sound like a plausible regressor, though I haven't yet confirmed this.

More of a Selection bug than Layout, I think. The issue isn't that we're rendering the text wrong, it's that after the down-arrow causes the contents of the input box to be updated, we're placing the selection at the wrong end of it and so newly-typed text is inserted at the beginning rather than the end.

Component: Layout: Text and Fonts → DOM: Selection

I can repro this on Windows.

Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Depends on: 1666537
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.