mediawiki-extensions-Visual.../modules/ve/test
Catrope 83a592f312 Fix whitespace preservation around meta items
This was broken, especially in wrappers.

Changed the wrapping algorithm so that meta items are placed outside
wrappers if possible. On the left-hand side, this is already the case:
we don't open wrappers for meta items. On the right-hand side, this is
accomplished by buffering the meta items and only inserting them when
we encounter either real text (not whitespace) or the end of the wrapper.
If we're interrupted by real text, we insert the meta items with the
unmodified whitespace. If we're interrupted by the end of the wrapper,
we insert the meta items outside of the wrapper with whitespace stripped.

Internally, this is done by stripping the whitespace into the whitespace[0]
of the meta item to its right. Then when we output the meta items, we
either decide to 'restore' the whitespace, or to 'fixup' by also setting
whitespace[3] on the element before the whitespace.

Change-Id: Ibeea2a9906c4aae9fe6d284613edd6ec853ca5e7
2013-04-18 16:06:58 -07:00
..
actions Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ce Create GeneratedContentNode which can store rendered HTML in IV store 2013-04-10 19:34:19 +01:00
dm Fix whitespace preservation around meta items 2013-04-18 16:06:58 -07:00
init Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
example.png Test: Fix 404 errors in example images. 2013-04-02 23:52:02 +02:00
index.php Merge "Allow node focusing" 2013-04-18 23:03:19 +00:00
ve.BranchNode.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.example.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.LeafNode.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.Node.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.qunit.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.Range.test.js Minor comment and licence fixes 2013-03-19 20:54:01 +00:00
ve.test.js Fix for custom hash with keys in different order 2013-04-09 00:20:44 +01:00
ve.Trigger.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00