Shadow DOM is enabled by default in Chrome 24. But not style=scoped, yet. Anyway, that is a start of tectonic shift, the web will never be the same* as we know it. Trust me. (* - for HTML/CSS coders, that is).
Also, there is other cool new stuff in upcoming Chrome:
- polygonal shapes added to CSS Exclusion module:
http://hansmuller-webkit.blogspot.co.uk/2012/06/horizontal-box-polygon-intersection-for.html- “clip-path” CSS property, which restricts the region of an element that can be painted is now supported.
- unprefixed window.performance and requestAnimationFrame
- like Firebug, WebInspector is now able to style its console output, thus:
'console.log("%cBlue!", "color: blue;");' will write blue text to the console, and so on.
- like Opera, WebKit now supports the @supports rule from the CSS Conditional module.
- like in Firebug and Dragonfly, the $() function now aliases querySelector rather than getElementById, within Web Inspector.
- experimental WebGL inspections
- you can now draw dashed lines in Canvas.
via Peter Beverloo.