mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
92ffa0739d
This bug caused all references containing complex content (e.g. links or templates) to be dirty-DOMed and reformatted by Parsoid. ve.dm.MWReferenceNode.js: * Parse the original body.html and check if it's semantically equal to the new value. If so, don't set it. ve.dm.Converter.js: * .normalize() the converter output to remove empty text nodes and merge adjacent text nodes ve.dm.example.js: * Update reused reference test to have body.html absent, not empty * Add a link to one of the reference tests so this bug is triggered ** The link's attributes are ordered specifically so that toDomElements will reorder them, at least in Chrome (may behave differently in other browsers) ** This test fails without this fix in place Change-Id: Idc091a14422fbb117a3d06fc6bb9497768086fc3 |
||
---|---|---|
.. | ||
ve.dm.AlienNode.js | ||
ve.dm.BreakNode.js | ||
ve.dm.CenterNode.js | ||
ve.dm.DefinitionListItemNode.js | ||
ve.dm.DefinitionListNode.js | ||
ve.dm.DivNode.js | ||
ve.dm.DocumentNode.js | ||
ve.dm.GeneratedContentNode.js | ||
ve.dm.HeadingNode.js | ||
ve.dm.ImageNode.js | ||
ve.dm.InternalItemNode.js | ||
ve.dm.InternalListNode.js | ||
ve.dm.ListItemNode.js | ||
ve.dm.ListNode.js | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWReferenceListNode.js | ||
ve.dm.MWReferenceNode.js | ||
ve.dm.MWTransclusionNode.js | ||
ve.dm.ParagraphNode.js | ||
ve.dm.PreformattedNode.js | ||
ve.dm.TableCaptionNode.js | ||
ve.dm.TableCellNode.js | ||
ve.dm.TableNode.js | ||
ve.dm.TableRowNode.js | ||
ve.dm.TableSectionNode.js | ||
ve.dm.TextNode.js |