Closed Bug 65789 Opened 25 years ago Closed 25 years ago

paste of table cells crashes

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: anthonyd, Assigned: mozeditor)

References

Details

(Keywords: crash, regression)

selecting multiple cells, copying them, and then pasting them in crashes mozilla. inside nsHTMLEditor::CreateDOMFragmentFromPaste(...) where the outRangeStartHint and outRangeEndHint are filled, are being filled with erronous info. After investigating, it appears the hints are always off by 1 (but that is not 100% certain). After further investigating, it appears that infoDataObj (where the hints are eventually parsed from) which is filled with information form the clipboard is getting the wrong information, so it would appear the copy is puuting the incorrect information (child node depth?) up onto the clipboard. over to joe. anthonyd
This is the most reproduceable case: 1. Create a 2x2 table in Composer (don't need any content in them). 2. Ctrl(Cmd)+Click on the lower-right-most cell in table. 3. Ctrl(Cmd)+Click on the upper-right-most cell in table. 4. Copy the selected cells. 5. Put caret outside the table and paste.
accepting bug. There is a waft of chqnges needed to tbel cell copying that should fix this.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9
adding bug that is probably blocked by this crasher
Blocks: 57863
Keywords: crash, regression
fixed a while ago - forgot to mark fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified in 4/6 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.