mediawiki-extensions-Visual.../modules/ve/test/ce
Catrope e148234c29 Render inline annotations in CE
Moved annotation rendering from ce.Textnode into the new
ce.ContentBranchNode class. This allows us to render annotations that
span across multiple nodes.

* Add ce.ContentBranchNode, inheriting ce.BranchNode
* Make ce.{Paragraph,Heading,Preformatted}Node inherit ce.ContentBranchNode
* Made ce.ContentBranchNode render its child nodes with anntations,
  using .getAnnotatedHtml() on the child nodes
* Put a default implementation for .getAnnotatedHtml() in ce.LeafNode
* Override this in ce.TextNode to do escaping and whitespace handling
* Removed rendering code from ce.TextNode (this.$ is now unused there)
* Removed ce.TextNode.onUpdate() and ce.BranchNode.clean(), now unneeded
* Have ce.BranchNode propagate update events from children, so
  ce.ContentBranchNode can rerender when its children change
* Update tests, add test case for escaping of &<>'"

Change-Id: I4600e984b287c6ff9267f4281d2f09bab9e1ad95
2012-11-28 11:21:59 -08:00
..
nodes Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.BranchNode.test.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.ce.ContentBranchNode.test.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.Document.test.js Test: Enforce # of expected assertions. 2012-10-25 22:06:07 +02:00
ve.ce.LeafNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.ce.Node.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.ce.NodeFactory.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.ce.test.js Only apply HTML attributes to DOM nodes that are "safe" 2012-11-27 14:34:29 -08:00