mediawiki-extensions-Visual.../modules/ve/test/dm
Roan Kattouw 92ffa0739d Fix reserialization of mw-data.body.html
This bug caused all references containing complex content (e.g. links
or templates) to be dirty-DOMed and reformatted by Parsoid.

ve.dm.MWReferenceNode.js:
* Parse the original body.html and check if it's semantically equal to
  the new value. If so, don't set it.

ve.dm.Converter.js:
* .normalize() the converter output to remove empty text nodes and
  merge adjacent text nodes

ve.dm.example.js:
* Update reused reference test to have body.html absent, not empty
* Add a link to one of the reference tests so this bug is triggered
** The link's attributes are ordered specifically so that toDomElements
   will reorder them, at least in Chrome (may behave differently in
   other browsers)
** This test fails without this fix in place

Change-Id: Idc091a14422fbb117a3d06fc6bb9497768086fc3
2013-06-25 19:24:18 -07:00
..
lineardata Code style fix: (X) -> ( X ) 2013-06-24 18:51:59 +01:00
nodes
ve.dm.AnnotationSet.test.js Code style fix: (X) -> ( X ) 2013-06-24 18:51:59 +01:00
ve.dm.BranchNode.test.js
ve.dm.Converter.test.js
ve.dm.Document.test.js
ve.dm.DocumentSynchronizer.test.js
ve.dm.example.js Fix reserialization of mw-data.body.html 2013-06-25 19:24:18 -07:00
ve.dm.IndexValueStore.test.js
ve.dm.InternalList.test.js
ve.dm.LeafNode.test.js
ve.dm.LinearData.test.js Code style fix: (X) -> ( X ) 2013-06-24 18:51:59 +01:00
ve.dm.MetaList.test.js
ve.dm.Model.test.js
ve.dm.ModelRegistry.test.js
ve.dm.Node.test.js
ve.dm.NodeFactory.test.js
ve.dm.Surface.test.js Only undo on MWMetaDialog close if small stack is non-empty 2013-06-18 16:55:03 +01:00
ve.dm.SurfaceFragment.test.js Code style fix: (X) -> ( X ) 2013-06-24 18:51:59 +01:00
ve.dm.Transaction.test.js Merge "Revert "ve.dm.Transaction: Implement newFromDocumentInsertion"" 2013-06-25 22:14:15 +00:00
ve.dm.TransactionProcessor.test.js