Closed
Bug 45281
Opened 25 years ago
Closed 25 years ago
Cannot insert a table caption
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: sujay, Assigned: mozeditor)
References
Details
(Whiteboard: [nsbeta3+])
Attachments
(1 file)
1.51 KB,
patch
|
Details | Diff | Splinter Review |
using 7/12 build of netscape
1) launch netscape
2) launch composer
3) insert default table
4) go into Table Props
5) click on caption
try entering a caption either above/below the table(as you chose in props)
it doesn't work
all platforms.
Comment 1•25 years ago
|
||
The node insertion code isn't allowing use to insert a <caption> element.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Comment 2•25 years ago
|
||
setting to nsbeta3+
Charley, can you please add the level of priority -- thanks
Keywords: correctness
Whiteboard: [nsbeta3+]
Comment 3•25 years ago
|
||
The problem is in the rules code. Since we create a new caption element with
no content, the rules code is automatically remove it. Joe needs to treat
<caption> like table cells and automatically insert <br> and not delete the
element.
Assignee: cmanske → jfrancis
Status: ASSIGNED → NEW
Summary: table caption doesn't work → Cannot insert a table caption
Assignee | ||
Comment 4•25 years ago
|
||
charlie, i'll try to get you a patch for this today.
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•25 years ago
|
||
Assignee | ||
Comment 6•25 years ago
|
||
attached a diff; charlie, give this a try
Assignee | ||
Comment 7•25 years ago
|
||
ok, my diffs stank. i sent charlie some new ones.
Assignee | ||
Comment 8•25 years ago
|
||
fixed. there is a different bug now: you cant click in the caption. I filed
48861 on this issue.
sujay: to test create a table, then use the table dialog to create a caption.
Look at the html source after that and you'll see an empty caption (with a <br>
in it) in place.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
still not fixed in 8/15 build....Charley and I just saw this one together...
I can't click inside a caption and enter text.
this could be dependent on a bug that Joe filed to Mike....I don't
have that bug number.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•25 years ago
|
||
Sujay, please reread my earlier comment. To verify this bug, look at the html
source after inserting the caption and see that the caption is there, and has a <
br> in it. This bug is fixed.
Not being able to click in it is a seperate bug against mike: 48861.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•