Page MenuHomePhabricator

Investigate html5 library bugs and workarounds
Closed, ResolvedPublic

Description

Issues detailed in http://www.mediawiki.org/wiki/Parsoid/Todo:HTML5


Version: unspecified
Severity: normal

Details

Reference
bz39161

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:04 AM
bzimport added a project: Parsoid-DOM.
bzimport set Reference to bz39161.

Jan Christiansen looked a bit into this and sent me some info by mail:

The CSS spec allows comments anywhere, so this is probably a bug in the HTML5 treebuilder (unlikely) or JSDOM.

I strongly suspect JSDOM because I think I have seen a case where this also happened to DOM nodes we manually created.

Closing, as we switched from JSDOM to Domino which does not normalize CSS rules any more.