https://bugzilla.wikimedia.org/show_bug.cgi?id=47323
Web browser: ---
Bug ID: 47323
Summary: Update html5 package from upstream.
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/DOM
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
We should resync our forked html5 parser package with upstream
(https://github.com/aredridel/html5). We've made changes of two types:
1) changes to allow us to pass in our tokens directly
2) changes to support using domino instead of jsdom.
2b) changes to support using DOM4 instead of DOM3 (because domino only supports
DOM4 methods)
It looks like upstream has landed changes to support DOM4 now, so the changes
needed upstream to support domino might be very trivial.
https://github.com/aredridel/html5/blob/master/lib/html5/parser.js#L2374 has to
be changed to allow using domino instead of jsdom, based on options (see
https://gerrit.wikimedia.org/r/#/c/49953/3/js/lib/html5/parser.js). domino
also doesn't support direct array access to attributes, so a few .item()
accessor methods might need to be added, similar to
https://gerrit.wikimedia.org/r/49838.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l