Odd that browsers seem to be reducing in options, forcing people to reinvent - less efficiently - what used to be available by default.
In fact one of the conformance requirements for CSS2.1 is "The UA must allow the user to turn off the influence of author style sheets"; CSS3 isn't finished yet so I can't find that exact phrase in it but I think it should still be a requirement.
It does work, but you need a browser which supports all of the used ES6 features (even in sloppy mode). As far as I can tell, it should work in Microsoft Edge.
It will work in Firefox once they enable `let` without specifying the script version.
It will work in Chrome once they fix for-of and once they make `let` work outside of strict mode.
Is there a way to remove the styles but apply some others instead which highlight the borders and natural layout of the elements?
Kind of like if you turned off styles and used the inspect feature of your browser but with all it's mouse-over highlights and guidelines turned on at once.
A hack near and dear to my heart! The toggle bit on this is a very nice touch. I wrote something similar [0] a short while ago, except that, after the native styles are stripped, a very small amount of css is added to: constrain page width, make text a green monospace on black, improve line-height and remove images.
view menu -> page style -> no style
alt+vyn/alt+vyb via keyboard.