Opened 11 years ago

Closed 11 years ago

#1276 closed defect (fixed)

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

comment:1 Changed 11 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...

comment:2 Changed 11 years ago by douglas

  • Resolution set to fixed
  • Status changed from new to closed

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.