On 11-05-13 2:25 PM, Boris Zbarsky wrote:
I just tested innerHTML,
and I found it stripped the attribute, but it didn't seem to add any
whitespace around<br>,<ol>, or<li>.

innerHTML uses OutputRaw which ensures that no prettyprinting happens
ever, no matter what, even if a gun is held to the serializer's head. In
particular, it overrides the _moz_dirty flag.

Similar for copy/paste.

I would suspect that there is no web-observable serialization behavior
that depends on _moz_dirty.

I think that's true, as we don't expose pretty printed serialization of the DOM to the web to the best of my knowledge.

Cheers,
Ehsan

Reply via email to