mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope e123a39b4e Handle annotated inline nodes in the converter
Was broken both on the way in and on the way out.

* Move alien restoration (data->DOM) out of the main getDomFromData()
  function and into getDomElementFromDataElement(). This means the
  comment about District 9 is gone (sniff), but moving this here ensures
  all code paths hit it (previously, it was assumed annotated nodes
  could never be aliens).
* In the DOM->data converter, add annotation application to
  getDataElementFromDomElement() (for content nodes) and createAlien()
  (for aliens). Previously, these nodes would not get annotations.
** ve.AnnotationSet doesn't have a constructor that takes an array, we
   should fix that.

Change-Id: I65f8e9a322111ca3af275bf9997b0b1e7ee93769
2012-11-27 14:41:40 -08:00
..
nodes
ve.dm.AnnotationFactory.test.js New annotation API: Annotation and AnnotationFactory classes 2012-10-12 15:07:02 -07:00
ve.dm.BranchNode.test.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Converter.test.js Handle annotated inline nodes in the converter 2012-11-27 14:41:40 -08:00
ve.dm.Document.test.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.DocumentSynchronizer.test.js Introduce meta-linmod 2012-11-02 19:06:49 -07:00
ve.dm.example.js Handle annotated inline nodes in the converter 2012-11-27 14:41:40 -08:00
ve.dm.LeafNode.test.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Node.test.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.NodeFactory.test.js
ve.dm.Surface.test.js Fixing Pre-Annotations 2012-11-19 17:09:08 -08:00
ve.dm.SurfaceFragment.test.js Add change marking for Parsoid's benefit 2012-11-06 10:11:11 -08:00
ve.dm.Transaction.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.dm.TransactionProcessor.test.js Make annotating inline elements actually work 2012-11-27 14:41:40 -08:00