mediawiki-extensions-Visual.../modules/ve/test
C. Scott Ananian 47545a5d6f Remove no-insertion metadata corner case from ve.dm.Transaction.pushReplace().
This version pushes a `replaceMetadata` operation after a `replace` to
fixup trailing metadata if there is no inserted region and the removed
region includes metadata.  This avoids a corner case where the
size of the metadata arrays inserted/removed in `Transaction.pushReplace()`
do not match the size of the data arrays inserted/removed.

We remove the now-unused `Document.getMetadataReplace()` method.

We also adjust `MetaList.onTransact()` so that it continues to work
properly when the number of metadata entries in `replace.insert` is
not the same as the number of metadata entries in `replace.remove`.

Change-Id: I1d600405b855ca1cb569853bb885b0752df47173
2013-09-06 01:07:37 +00:00
..
ce Fix getOffsetFrom(Element|Text)Node for annotated aliens 2013-09-05 00:35:53 -07:00
dm Remove no-insertion metadata corner case from ve.dm.Transaction.pushReplace(). 2013-09-06 01:07:37 +00:00
init ve.copy: Remove obsolete copyArray and copyObject 2013-07-30 01:44:22 +02:00
ui ve.copy: Remove obsolete copyArray and copyObject 2013-07-30 01:44:22 +02:00
example.png Optimise png images with optipng 2013-07-05 09:47:12 +00:00
index.php Merge "ve.EventSequencer: Post-event listening" 2013-09-04 20:08:42 +00:00
ve.BranchNode.test.js
ve.Document.test.js
ve.Element.test.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.Factory.test.js
ve.LeafNode.test.js
ve.Node.test.js Store DM nodes in InternalList 2013-06-03 22:10:07 +01:00
ve.qunit.js Include element HTML in QUnit summary for diff 2013-08-02 16:10:05 +01:00
ve.Range.test.js Fix copy and paste of backwards selction 2013-08-22 18:10:34 +00:00
ve.test.js Don't emit Surface changes back to the Surface 2013-08-21 17:26:32 +00:00
ve.test.utils.js Remove inserted leading whitespace 2013-08-02 19:01:22 +00:00