Bug #24521

htmlArea RTE: Use parentNode rather than parentElement

Added by Mikkel Ricky about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-01-11
Due date:
% Done:

0%

TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While investigation issue #23778 and making a workaround I've noted that the "parentElement" property of a DOM element is used. This property is not supported in Firefox (Gecko) as it's proprietary [http://msdn.microsoft.com/en-us/library/ms534327(VS.85).aspx] and therefore it should not be used.

EXT:rtehtmlarea/htmlarea/plugins/TableOperations/table-operations.js line 1044 should be changed to

var tr = cell.parentNode;

This makes is possible to handle merging of table cells consistently across browsers (see issue #23778).

(issue imported from #M16975)

rtehtmlarea_bugfix_16975_trunk.patch View (698 Bytes) Administrator Admin, 2011-01-21 06:48

History

#1 Updated by Stanislas Rolland about 8 years ago

Thanks for reporting this.

Fixed in SVN TYPO3core trunk (revision 10191).

#2 Updated by Susanne Moog almost 8 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF