mediawiki-extensions-Visual.../modules/ve/test
Roan Kattouw 4041d3f342 Fix the newline bunny-hop bug
We would dirty-diff "</span>\n<!-- comment -->\n<span>" to
"</span>\n\n<!-- comment --><span>", i.e. the second newline made
a bunny-hop to the left over the comment.

The actual bug turned out to involve a double bunny-hop, with
"</span> <!-- comment -->\n<span>" turning into
"</span>\n <!--comment --><span>", i.e. the newline bunny-hops
both the comment and the space.

This happened because outputWrappedMetaItems() didn't take
wrappedWhitespace into account when restoring meta items and
associated whitespace. I hacked a check for wrappedWhitespace into it,
but we should really just rewrite this pile of hacks into a unified
system for queuing and processing both whitespace and metadata.

Change-Id: I4375f4c07983ffec6877d0371aeaa9bf6e65fd6e
2013-07-26 16:24:27 -07:00
..
ce De-alienate <code>foo</code> blocks (code element) 2013-07-19 00:48:46 +00:00
dm Fix the newline bunny-hop bug 2013-07-26 16:24:27 -07:00
init The great directory split of 2013 2013-07-02 20:51:38 -07:00
ui The great directory split of 2013 2013-07-02 20:51:38 -07:00
example.png Optimise png images with optipng 2013-07-05 09:47:12 +00:00
index.php Code annotation button 2013-07-26 12:36:34 -07:00
ve.BranchNode.test.js
ve.Document.test.js
ve.Element.test.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.Factory.test.js
ve.LeafNode.test.js
ve.Node.test.js
ve.qunit.js
ve.Range.test.js
ve.test.js Add ve#graphemeSafeSubstring method 2013-07-23 10:45:23 +01:00
ve.test.utils.js Handle meta-only transclusions as meta items 2013-07-24 14:27:24 +00:00