mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +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.AlienNode.js | ||
ve.dm.DocumentNode.js | ||
ve.dm.HeadingNode.js | ||
ve.dm.ImageNode.js | ||
ve.dm.ListItemNode.js | ||
ve.dm.ListNode.js | ||
ve.dm.ParagraphNode.js | ||
ve.dm.PreformattedNode.js | ||
ve.dm.TableCellNode.js | ||
ve.dm.TableNode.js | ||
ve.dm.TableRowNode.js | ||
ve.dm.TextNode.js |