mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 17:14:42 +00:00
Changed selectNodes test to desired behavior (which fails atm)
Change-Id: I79eb5caaa3e2193e2309d37dc1d0ca67c2602836
This commit is contained in:
parent
f4fcf9663e
commit
e1f8fef228
|
@ -28,8 +28,8 @@ test( 'selectNodes', 7, function() {
|
||||||
ve.dm.example.nodeSelectionEqual(
|
ve.dm.example.nodeSelectionEqual(
|
||||||
doc.selectNodes( new ve.Range( 0, 10 ) ),
|
doc.selectNodes( new ve.Range( 0, 10 ) ),
|
||||||
[
|
[
|
||||||
// heading
|
// heading/text
|
||||||
{ 'node': lookup( documentNode, 0 ) },
|
{ 'node': lookup( documentNode, 0, 0 ) },
|
||||||
// table/row/cell/paragraph/text
|
// table/row/cell/paragraph/text
|
||||||
{ 'node': lookup( documentNode, 1, 0, 0, 0, 0 ), 'range': new ve.Range( 9, 10 ) }
|
{ 'node': lookup( documentNode, 1, 0, 0, 0, 0 ), 'range': new ve.Range( 9, 10 ) }
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue