News for hackers. Stuff that matters.
Re:Ask HN: Why does 'View Source' issue a new HTTP request? by burnbabyburn on Monday December 19, 2016 @08:24AM (#13211193)
Couldn't you reconstruct the source from the internal dom representation anyway?
Re:Ask HN: Why does 'View Source' issue a new HTTP request? by monk_e_boy on Monday December 19, 2016 @08:29AM (#13211222)
No. The parser corrects and changes the source to make the DOM.

So it is impossible to find errors usually. So things like:

    <p><div> </p></div>
the parser will correct, and therefore the DOM will be correct. But what it does to fix this may break your site. I often found the CSS would be screwed up for many reasons (rules don't match DOM structure -- due to bugs all over our codebase)
Re:Ask HN: Why does 'View Source' issue a new HTTP request? by OJFord on Monday December 19, 2016 @10:13AM (#13211854)
Also, changes made by client-side JS.
Re:Ask HN: Why does 'View Source' issue a new HTTP request? by burnbabyburn on Monday December 19, 2016 @09:00AM (#13211383)
oh right.