Open Bug 1973355 Opened 1 year ago Updated 1 year ago

textarea dir=auto newline and undo are broken for rtl input

Categories

(Core :: DOM: Editor, defect)

Firefox 139
Unspecified
Windows 11
defect

Tracking

()

People

(Reporter: eyalgruss, Unassigned)

Details

for textarea with dir="auto" and input language in rtl (hebrew), i see these following issues which are fine on chromium and i am pretty sure are a regression in firefox:

  1. pressing enter after an rtl input does not move the caret to the next line - it stays on the end of the current line (seeing this both on windows and android)
  2. entering a one or more rtl characters then ctrl-z to undo, does not delete the first character.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → DOM: Editor
Product: Firefox → Core

Hi, thank you for your report. Could you check when it's regressed with mozregression? That would help to fix the regression.

Flags: needinfo?(eyalgruss)

@masayuki i actually never used mozregression before - its so awesome! anyway i want back all the way up to 117.0a1 (2023-07-04) and i see the same issues so it's not a recent regression as i thought. also tested on separate machine to make sure. still, the issue remains and is specific to firefox.

Flags: needinfo?(eyalgruss)
Summary: textarea dir=auto newline and undo are broken for rtl input (regression?) → textarea dir=auto newline and undo are broken for rtl input
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.