Open Bug 1486179 Opened 6 years ago Updated 2 years ago

Caret of vertical-rl extrinsic-block-sized contenteditable is misplaced at the wrong place, before entering any character

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

Tracking Status
firefox63 --- affected

People

(Reporter: zjz, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file test.html
Caret of vertical-rl extrinsic-block-sized contenteditable is misplaced at the wrong place, before entering any character

Please see the uploaded test.html
When there is no bogus node (<br>), caret doesn't set valid position well since contenteditable doesn't have correct height yet (bug 1098151).  It isn't related to vertical text.
Depends on: 1098151
Priority: -- → P3
Thank you for the clarification.

Users can just see the issue presenting in vertical-rl mode, so personally I think it might still be appropriate to considered "related" to writing-mode, because people who CC'ed writing-mode might be also interested, though it may be unrelated to writing-mode in code level.

This initial misplacement of caret in documents with root element with 'writing-mode: sideways-lr' also happens. I have a test demonstrating this ... but right now I can not upload it to my website. I will upload it as soon as my webhosting company fixes its problem.

Test with root element with 'writing-mode: sideways-lr':

http://www.gtalbot.org/BugzillaSection/Bug1486179CaretVRLMisplaced.html

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: