Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72755


Change subject: Update domino to 1.0.12; add test cases for adoption bugs which 
this fixes.
......................................................................

Update domino to 1.0.12; add test cases for adoption bugs which this fixes.

Change-Id: I194167f3c0621394ab4fb40e242711ccb86615ae
---
M js/package.json
M js/tests/parserTests.txt
2 files changed, 27 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/55/72755/1

diff --git a/js/package.json b/js/package.json
index c455831..764fc35 100644
--- a/js/package.json
+++ b/js/package.json
@@ -11,7 +11,7 @@
                "path": "0.x.x",
                "optimist": "0.x.x",
                "assert": "0.x.x",
-               "domino": "~1.0.11",
+               "domino": "~1.0.12",
                "pegjs": "0.7.x",
                "lru-cache": "1.x.x",
                "async": "0.x.x",
diff --git a/js/tests/parserTests.txt b/js/tests/parserTests.txt
index eb56e87..3fd7dbf 100644
--- a/js/tests/parserTests.txt
+++ b/js/tests/parserTests.txt
@@ -16107,6 +16107,32 @@
 </ul>
 !! end
 
+# This test case is fixed by domino 1.0.12.
+# Note that html2wt is considerably more difficult if we use <b> in
+# the test case, instead of <big>
+!! test
+Ensure that HTML adoption agency algorithm is properly implemented.
+!! options
+!! input
+<big>X<big>Y</big>Z</big>
+!! result
+<p><big>X<big>Y</big>Z</big>
+</p>
+!! end
+
+# The parsoid team believes the below behavior of the PHP parser to be
+# a bug.
+!! test
+Document PHP parser behavior for HTML adoption agency test case.
+!! options
+php
+!! input
+<em>X<em>Y</em>Z</em>
+!! result
+<p><em>X&lt;em&gt;Y</em>Z&lt;/em&gt;
+</p>
+!! end
+
 TODO:
 more images
 more tables

-- 
To view, visit https://gerrit.wikimedia.org/r/72755
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I194167f3c0621394ab4fb40e242711ccb86615ae
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>

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

Reply via email to