Catrope has uploaded a new change for review. https://gerrit.wikimedia.org/r/69343
Change subject: Failing test for nested empty annotations ...................................................................... Failing test for nested empty annotations Change-Id: I98d88b341efcd6384ee1fda5d6d7e1e1acb107aa --- M modules/ve/test/dm/ve.dm.example.js 1 file changed, 18 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/43/69343/1 diff --git a/modules/ve/test/dm/ve.dm.example.js b/modules/ve/test/dm/ve.dm.example.js index 95788ef..74bde79 100644 --- a/modules/ve/test/dm/ve.dm.example.js +++ b/modules/ve/test/dm/ve.dm.example.js @@ -1691,6 +1691,24 @@ { 'type': '/internalList' } ] }, + 'nested empty annotation': { + 'html': '<body><p>Foo<i><b></b></i>Bar</p></body>', + 'data': [ + { 'type': 'paragraph' }, + 'F', 'o', 'o', + { + 'type': 'alienMeta', + 'attributes': { + 'domElements': $( '<i><b></b></i>' ).get() + } + }, + { 'type': '/alienMeta' }, + 'B', 'a', 'r', + { 'type': '/paragraph' }, + { 'type': 'internalList' }, + { 'type': '/internalList' } + ] + }, 'list item with space followed by link': { 'html': '<body><ul><li><p> <a rel="mw:WikiLink" href="Foo_bar" data-rt="{"sHref":"foo bar"}">bar</a></p></li></ul></body>', 'data': [ -- To view, visit https://gerrit.wikimedia.org/r/69343 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I98d88b341efcd6384ee1fda5d6d7e1e1acb107aa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Catrope <roan.katt...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits