Closed Bug 68055 Opened 24 years ago Closed 24 years ago

Selecting text in composer cell and CTRL-X increases cell height

Categories

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

x86
All
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: shrir, Assigned: mozeditor)

Details

Attachments

(1 file)

I see this on all platforms 1 Open the attached file in Composer 2 Highlight the contents of cell 1 with mouse and hit CTRL-X 3 Observe that as the text disappears the width of the cell doubles. Expected: Cell width should not change.
Attached file table testcase
shrir -- does it stay doubled or does it snap back to normal if you force a redisplay? giving this one to cmanske
Assignee: beppe → cmanske
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
Correctiong summary. I meant 'cell height'. No it does not snap back to normal upon forcing a redisplay.
Summary: Selecting text in composer cell and CTRL-X increases cell width → Selecting text in composer cell and CTRL-X increases cell height
Beth: Do you see this behavior? I don't, though my tree is up to date as of 2/6, i.e., not yesterday's build. If this is really happening, it belongs to layout (Karnaze?) Shrirang: After you see the cell width double, click on "HTML Source" tab and view the source -- does it look correct? Switching back to "Normal" will probably redraw the table correctly.
This is still happening on windows trunk 0208. After the cell height doubles, in the View Source, I see that '&nbsp' are getting added to the first <td>. Also, switching back to normal mode does not redraw the table correctly. Will show this to you tomorrow morning....
I still cannot reproduce! I also don't see the "&nbsp;" you mention, so maybe jfrancis fixed something that solved this as well? Joe? Please test again.
I cannot reproduce this one.
still happens on my NT
How are you "highlighting the contents of cell 1"? Ctrl+click to select entire cell? Drag selecting contents?
drag selecting contents (right to left), sorry i should have mentioned that
I see it now. After doing the cut, using Composer's debug menu items "DOM Serializer" or "Output HTML" show some funky characters in the cell whose contents were deleted: <td valign="Top"><br> ?á ?á ?á </td> This is cleared out by cycling through HTML Source. Over to Joe (hopefully a dup!)
Assignee: cmanske → jfrancis
Target Milestone: mozilla0.9.1 → mozilla0.9.2
using a current build, this cannot be reproduced. I tried it and so did Shrir
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
marking verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: