Ticket #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 |
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
Note: See
TracTickets for help on using
tickets.
