Issue Bug Closed

#24521htmlArea RTE: Use parentNode rather than parentElement

Mikkel Ricky 01/11/11, 22:02 updated 03/29/11, 23:48

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.