https://bugzilla.wikimedia.org/show_bug.cgi?id=51954
--- Comment #6 from Gabriel Wicke <gwi...@wikimedia.org> --- This is what a modern browser (HTML5 parsing spec) does: document.body.innerHTML = '<div bgcolor>foo</div>'; "<div bgcolor>foo</div>" document.body.innerHTML "<div bgcolor="">foo</div>" We do the same in parsoid as we are also using the HTML5 parsing algorithm. So I think bug 52330 is really the issue here. We should already be round-tripping any kind of attribute perfectly in untouched content. The normalization to bgcolor="" should only happen when something nearby was edited. Can you verify using the visual editor? PS: When trying http://parsoid.wmflabs.org/_rtselser/dewiki/Selbstbildnis_%28Leonardo_da_Vinci%29 I noticed that there is a diff in ref tags which should not be there. This is reported in bug 60120. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l