Closed
Bug 28475
Opened 25 years ago
Closed 25 years ago
tab in 1st cell of a 2x2 table moves caret in unusual position
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: bijals, Assigned: cmanske)
References
()
Details
Steps:
1) Load document http://blues/users/bijals/publish/composer/composerbor2.htm
2) Go to the table and click in the first column, header row
3) Hit tab
Actual Results: Notice that the caret moves to an unusual position in between a
table border.
Expected Results: Tab moves caret to next cell on the right or to the next row.
Comment 1•25 years ago
|
||
reassign to charley for initial triage; cc joe
change platform/os to all since I see this on Mac (today's build).
Also note that the caret is only wrong for the first tab press, subsequent tab
presses in the particular table in the example seem to be fine.
Assignee: brade → cmanske
OS: Windows NT → All
Hardware: PC → All
Summary: Hitting tab on first cell of a two column, two row table moves caret in unusual position → tab in 1st cell of a 2x2 table moves caret in unusual position
Target Milestone: M16
Assignee | ||
Comment 2•25 years ago
|
||
It's not between the table borders.
The caret is being moved to the beginning of the cell logically, it happens
that the text is in a <center> tag, and the caret is placed at the beginning of
the cell, before the <center>. Maybe we should discuss where to put the caret?
So the bug is really: why is the caret drawn too high when it is before a
center tag in the table? Assinging to Simon for more investigation.
Assignee: cmanske → sfraser
Assignee | ||
Comment 4•25 years ago
|
||
Joe: What should we do about this? Do you have or plan to write a method
to "put caret in front of deepest first child" for cases like this?
Would you like me to write one? Are there other cases when that behavior for
placing caret would be good?
Assignee: cmanske → jfrancis
Comment 5•25 years ago
|
||
Charlie, I am happy for you to do this logic. Just follow the TabInTable()
logic, making sure that any code you write for positioning the caret is only
called in the TabIntable() case.
I can do this if you like, but if you do it then as a bonus you get whatever
behavior you want! :-)
Assignee | ||
Comment 6•25 years ago
|
||
Ok, I'll help out -- I know you need some payment for the pain I've caused you
because of new list and table selection consequences!
Assignee: jfrancis → cmanske
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•25 years ago
|
||
This was fixed, but if you tab into an empty cell, you can't type!
Leaving open to investigate that problem
Assignee | ||
Comment 8•25 years ago
|
||
checked in 4/27
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•