mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
8ce7fd0c85
Image nodes are leafs, so providing an empty array to their children/length "contents" constructor argument ends up setting the numeric length to [], which casts to an empty string in arithmetic, causing all further calculations to be concatenations instead of additions. Change-Id: I40e1ea2295f6095318bc4c24185cadfdfb684557 |
||
---|---|---|
.. | ||
dm | ||
index.html | ||
ve.BranchNode.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.NodeFactory.test.js |