mediawiki-extensions-Visual.../modules/ve/test
Catrope c6cb537f1a Fix bugs in whitespace preservation for aliens
This was broken in three different ways:
* On the way in, we were applying whitespace to an array of elements
  rather than the actual element, so the whitespace wasn't stored.
* Whitespace processing on the way out was skipped for aliens because
  they had their own code path. Refactored this so alien openings and
  regular openings share much more code, including whitespace output.
* Somewhat unrelatedly, innerPost output was broken for paragraphs
  containing inline elements, because the inline elements' processing
  polluted lastOuterPost. Discovered this because my test with inline
  aliens also happened to be the first test of whitespace preservation
  in paragraphs with inline content elements. Fixed by explicitly
  skipping content nodes when outputting whitespace.

Fixed these issues and added a test case.

Change-Id: I8edb61a008e60ace886b1a841b3417682ec39c32
2012-09-07 15:17:28 -07:00
..
ce Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
dm Fix bugs in whitespace preservation for aliens 2012-09-07 15:17:28 -07:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.html Manage annotations in ve.AnnotationSet object 2012-09-06 14:39:38 -07:00
ve.BranchNode.test.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.Document.test.js Object management: Object create/inherit/clone utilities 2012-09-06 15:29:31 -07:00
ve.example.js Object management: Object create/inherit/clone utilities 2012-09-06 15:29:31 -07:00
ve.Factory.test.js Rename fringeWhitespace to internal 2012-08-16 15:14:01 -07:00
ve.LeafNode.test.js Object management: Object create/inherit/clone utilities 2012-09-06 15:29:31 -07:00
ve.Node.test.js Object management: Object create/inherit/clone utilities 2012-09-06 15:29:31 -07:00
ve.qunit.js Rename fringeWhitespace to internal 2012-08-16 15:14:01 -07:00
ve.test.js Also add clone functionality, undefined guard and tests to ve.copyObject() 2012-09-06 14:52:41 -07:00