Ticket #1276 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

selectNodeContents doesn't perform as advertised, collapsing doesn't work.

Reported by: douglas Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

The selectNodeContents claims it supports a second argument, "pos" which allows you to collapse the selection to a position inside of it.

Change History

Changed 5 years ago by douglas

r1035 is a first pass at this (in Webkit and Gecko, I'm still debugging in IE) that supports collapsing on direction, and not to a specific position. I may change the parameter to be follow the selection APIs (to beginning or end, not to a specific position) depending on difficulty...

Changed 5 years ago by douglas

  • status changed from new to closed
  • resolution set to fixed

r1042 is a final pass where we update usage and documentation to the new way (boolean collapse to a direction)

Note: See TracTickets for help on using tickets.