Open Bug 1247480 Opened 10 years ago Updated 3 years ago

Impossible to place caret cursor to add text between two adjacent <table> elements [contenteditable]

Categories

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

47 Branch
defect

Tracking

()

People

(Reporter: cyril.auburtin, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: parity-chrome, Whiteboard: dom-triaged)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.13 Safari/537.36 Steps to reproduce: http://jsbin.com/cacarew/4/edit?html,js it's impossible to type text after the first table and before the second one Actual results: the selection is always forced inside the last cell of the table Expected results: I should be able to place cursor between the 2 tables, (or after a table if it's the last child)
Component: Untriaged → Editor
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: dom-triaged
This is the same with <a>..</a> http://jsfiddle.net/crl/c5m94qcd/5/ When trying to leave it (type after it) with space enter or anything you can't, the selection is like <a> ... |</a> I guess Chromium/blink does it differently with the selection just after the <a> or <table>, it makes more sense?

Still reproducible today (on Ubuntu 18.04).

Keywords: parity-chrome
See Also: → 1640846
Priority: -- → P3

Mirko has filed the general case as Bug 1674359: Adding content before or after a <table> isn't possible when the table is the only element (or first/last respectively), as he said that's "simpler than [this] bug 1247480 and presumably not exactly the same". Adjusting summary here to what's primarily described in comment 0, the special case of having two <table> elements right next to each other and failing to type in between them.

Summary: Table selection, impossible to set cursor just after a table [contenteditable] → Impossible to place caret cursor to add text between two <table> elements [contenteditable]
Summary: Impossible to place caret cursor to add text between two <table> elements [contenteditable] → Impossible to place caret cursor to add text between two adjacent <table> elements [contenteditable]
See Also: → 1525576
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.