15:56
<sideshowbarker>
in the document at https://dom.spec.whatwg.org/#introduction-to-the-dom aren’t there in fact two newlines at the end of the body element?
15:58
<sideshowbarker>
the spec shows it as having a single newline, but if you inspect the actual DOM or serialize it, I think you’ll find two newlines there, right?
16:37
<Domenic>
the spec shows it as having a single newline, but if you inspect the actual DOM or serialize it, I think you’ll find two newlines there, right?
I only see one:
16:40
<sideshowbarker>
doesn’t the DOM inspector elide the newlines?
16:40
<sideshowbarker>
I mean in that view
16:43
<sideshowbarker>

if you select Edit as HTML, I think you’ll see this:

<html class="e"><head><title>Aliens?</title></head><body>Why yes.

</body></html>
16:44
<sideshowbarker>
oh sorry, I see now I didn’t look through the whole image
16:50
<Domenic>
Yeah if I choose edit as HTML I only get one newline
16:50
<Domenic>
I wonder if there's a \r\n -> \n\n thing going on at some point
16:51
<sideshowbarker>
aha
16:51
<sideshowbarker>
probably that?
16:52
<sideshowbarker>
platform line-ending difference?
16:52
<sideshowbarker>
I am looking at it on macOS
16:53
<sideshowbarker>
but I thought the serializer normalized all that
16:53
<sideshowbarker>
anyway, the context is https://github.com/mdn/content/pull/7472
16:54
<Domenic>
Yeah but maybe like copy-to-clipboard did something weird
16:56
<sideshowbarker>
I’m trying to replace the horrible description (copied from the DOM Level 3 spec) in https://developer.mozilla.org/en-US/docs/Web/API/Text with a description that actually means something to people
16:57
<sideshowbarker>
I’m trying to replace the horrible description (copied from the DOM Level 3 spec) in https://developer.mozilla.org/en-US/docs/Web/API/Text with a description that actually means something to people
yeah probably so, it seems
23:54
<sideshowbarker>
https://github.com/mdn/content/issues/7470 is a good issue for anybody looking to help improve MDN and who has familiarity with the canvas 2D API