Trevor Parscal has uploaded a new change for review.

Change subject: Added tests and fixed inconsistencies for empty text node 
handling
......................................................................

Added tests and fixed inconsistencies for empty text node handling

Continues where Ibb682332a6084e357104183641a104e3ae1e253f left off, adding 
tests and removing inconsistencies between the behavior of the document 
constructor, which was adding empty text nodes to empty paragraphs, and 
correcting other tests which expected empty text nodes to be there as well.

Change-Id: I414d061cdd494b8023f14e944eda2910a4dab0d4
---
M modules/ve/dm/ve.dm.Document.js
M modules/ve/test/ce/nodes/ve.ce.TextNode.test.js
M modules/ve/test/dm/ve.dm.Document.test.js
M modules/ve/test/dm/ve.dm.TransactionProcessor.test.js
M modules/ve/test/ve.qunit.js
5 files changed, 10 insertions(+), 32 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/40/46540/1
--
To view, visit https://gerrit.wikimedia.org/r/46540
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I414d061cdd494b8023f14e944eda2910a4dab0d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to