[WebODF] Walkable position inside empty span in empty paragraph, or before?
Philip Peitsch
P.Peitsch at qsrinternational.com
Thu Jun 27 05:26:34 CEST 2013
On 26/06/2013, at 11:56 PM, Friedrich W. H. Kossebau wrote:
> Hi,
>
> for the following sample I wonder where walkable position should be:
> <text:p><text:span></text:span></text:p>
>
> There is the operation test "Remove_backspaceOnlyCharacter" which has as
> <before> this structure:
>
> <text:p><text:span>A</text:span></text:p>
>
> After inserting a cursor behind A and backspacing the A it expects this:
>
> <text:p><c:cursor/><text:span></text:span></text:p>
>
> Now README_cursorpositions lists as allowed cursor position this sample:
>
> <p><span>|</span></p>
>
> Who is right?
I think the cursor should be in the span. Knowing the complexity of the code
this is almost guaranteed to be entirely accidental (and I was too lazy when
I added that test to fix the slightly dodgy looking behaviour <_<)
More information about the WebODF
mailing list