mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope a97f777685 Introduce context object in getDataFromDom()
* Introduce context object as specified for
  ve.dm.Node.static.toDataElement()
* Remove wrapping variable in favor of context.wrapping
* Remove wrappingIsOurs in favor of context.canCloseWrapper
* Introduce originallyExpectingContent and use it to repopulate
  context.expectingContent after closing a wrapper
* Replace most uses of branchHasContent with context.expectingContent
** Except for two cases where we need originallyExpectingContent

These changes fix a case where a metaBlock was generated in an inline
position. Updated the tests to reflect this.

Change-Id: I6baf6053f8a3a0b7d91487f812b9235a7b2b3db1
2013-01-31 15:00:00 -08:00
..
nodes Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.BranchNode.test.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.Converter.test.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.Document.test.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00
ve.dm.DocumentSynchronizer.test.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.example.js Introduce context object in getDataFromDom() 2013-01-31 15:00:00 -08:00
ve.dm.LeafNode.test.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.ModelRegistry.test.js Add extension-specific types functionality to ModelRegistry 2013-01-22 18:12:35 -08:00
ve.dm.Node.test.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.NodeFactory.test.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.Surface.test.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.SurfaceFragment.test.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.Transaction.test.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.TransactionProcessor.test.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00