jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Subramanya Sastry: Looks good to me, approved
jenkins-bot: Verified
Objections:
Cscott: There's a problem with this change, please improve
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 d837580..22adcdb 100644
--- a/js/tests/parserTests.txt
+++ b/js/tests/parserTests.txt
@@ -16120,6 +16120,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<em>Y</em>Z</em>
+</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: merged
Gerrit-Change-Id: I194167f3c0621394ab4fb40e242711ccb86615ae
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits