--- Comment #6 from Gabriel Wicke <> ---
This is what a modern browser (HTML5 parsing spec) does:

document.body.innerHTML = '<div bgcolor>foo</div>';
"<div bgcolor>foo</div>"
"<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
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

Reply via email to