mediawiki-extensions-Visual.../modules/ve/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
..
annotations Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
nodes Hybrid-ify MetaBlock/MetaInline 2013-01-31 15:00:00 -08:00
ve.dm.Annotation.js Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
ve.dm.AnnotationFactory.js Move matching code from AnnotationFactory to ModelRegistry 2013-01-22 15:51:37 -08:00
ve.dm.BranchNode.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.Converter.js Introduce context object in getDataFromDom() 2013-01-31 15:00:00 -08:00
ve.dm.Document.js Added tests and fixed inconsistencies for empty text node handling 2013-01-29 15:13:17 -08:00
ve.dm.DocumentSlice.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00
ve.dm.DocumentSynchronizer.js Automatically prune empty text nodes 2013-01-28 17:09:56 -08:00
ve.dm.js Move matching code from AnnotationFactory to ModelRegistry 2013-01-22 15:51:37 -08:00
ve.dm.LeafNode.js Convert node rules to static properties 2013-01-18 14:51:40 -08:00
ve.dm.ModelRegistry.js Fixed documentation warning 2013-01-30 12:52:03 -08:00
ve.dm.Node.js Specify (but do not implement) the context parameter to toDataElement() 2013-01-31 14:59:59 -08:00
ve.dm.NodeFactory.js Make defaultAttributes a static property as well 2013-01-18 14:51:40 -08:00
ve.dm.Surface.js Remove range.normalize (not needed), use range.isCollapsed more often 2013-01-16 15:38:07 -08:00
ve.dm.SurfaceFragment.js Added support for passing data into annotation constructors 2013-01-28 11:01:52 -08:00
ve.dm.Transaction.js Inline ve.dm.Document.offsetContainsAnnotation 2013-01-17 12:07:14 -08:00
ve.dm.TransactionProcessor.js Major Documentation Cleanup 2013-01-16 15:37:59 -08:00