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 |
||
---|---|---|
.. | ||
ve.dm.BranchNode.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.DocumentFragment.test.js | ||
ve.dm.example.js | ||
ve.dm.LeafNode.test.js | ||
ve.dm.Node.test.js | ||
ve.dm.Transaction.test.js |