Ticket #1597 (new defect)

Opened 11 months ago

Last modified 9 months ago

Safari 5.1.6 Webkit insertNodeAtSelection

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords: safari webkit selection insertnodeatselection
Cc: ejucovy

Description

Within the WebKit?.js, the selection process for the object passed to insertNodeAtSelection at line 420 is always of node type DOCUMENT and not ELEMENT:

Xinha.prototype.getSelection = function() {

return this._iframe.contentWindow.getSelection();

};

Therefore when switching on the node.NodeType? on line 430, none of the cases are met and the text is just deleted and not replaced with underlined text.

Change History

Changed 9 months ago by ejucovy

  • cc ejucovy added
Note: See TracTickets for help on using tickets.