Opened 5 years ago

Last modified 5 years ago

#1597 new defect

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


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 (1)

comment:1 Changed 5 years ago by ejucovy

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