Project

General

Profile

Actions

Bug #24521

closed

htmlArea RTE: Use parentNode rather than parentElement

Added by Mikkel Ricky almost 14 years ago. Updated over 13 years ago.

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

0%

Estimated time:
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)


Files

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

Updated by Stanislas Rolland almost 14 years ago

Thanks for reporting this.

Fixed in SVN TYPO3core trunk (revision 10191).

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF