mediawiki-extensions-Visual.../modules/ve/test
Ed Sanders 1261a5f471 Fix unindent action when acting on multiple list items
This is caused by a limitation of surface fragments in that they
always expand to include insertions touching them. In this case
we build surface fragments contain adjacent listItems, so when
the first listItem is de-listed a transaction is first created to
split the list. This insertion of ('/list', 'list') is adjacent
to the second surface fragment and so becomes part of that fragment.

This then causes the wrong node to be passed to unindentListItem.

The workaround is to use the inner range of the listItem, not
the outer range.

Bug: 48390

Change-Id: I7418910412d292ef4953e294a97f66e48d6f776f
2013-05-12 22:15:09 +01:00
..
actions Fix unindent action when acting on multiple list items 2013-05-12 22:15:09 +01:00
ce Fix ContentBranchNode test broken by ve.ce.ProtectedNode 2013-05-07 14:48:23 -07:00
dm Merge "Whitespace between unwrapped inline nodes assigned to paragraph" 2013-05-10 17:13:15 +00:00
init
example.png Test: Fix 404 errors in example images. 2013-04-02 23:52:02 +02:00
index.php Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.BranchNode.test.js
ve.Document.test.js
ve.example.js
ve.Factory.test.js
ve.LeafNode.test.js
ve.Node.test.js
ve.qunit.js Convert DOM elements to stringifiable objects for reporting 2013-05-08 14:42:43 +01:00
ve.Range.test.js
ve.test.js ve.test: Import K-JS test suite for object utilities 2013-05-08 02:13:16 +02:00
ve.Trigger.test.js