Conditional CSS, file-level CSP and shipping Shadow DOM and MathML
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 24
This update covers 1,921 Chromium changes and 1,426 WebKit changes which happened over the past two weeks, totaling up at 3,347 changes. Highlights are support for conditional CSS, support for polygonal shapes in CSS Exclusions and support for Shadow DOM, now shipping with Chrome.
Chromium has enabled both Shadow DOM
and scoped stylesheets by default, and both features which will ship with Chrome 24. This also applies to MathML, which has been worked on by David Barton in the past year.
Web Inspector now supports styling console message output by using the %c modifier, together with a string of defined styles in the second parameter. HTML as part of XMLHttpRequest responses will now be previewed in the Network Panel, and hovering over console messages will now highlight them.
WebKit now supports the @supports rule from the CSS Conditional module. The orphaned units quirk has been removed, which would allow a space between the number and unit, such as “20 px”. Borders, margins and paddings of an inline’s inline ancestors won’t be counted twice anymore, and max-width can now override the width for CSS tables. For the Flexible Box implementation, stretched inputs won’t overflow anymore and images are being displayed again.
The experimental CSS Exclusions implementation now supports polygonal shapes, behavior of which is explained on Hans Muller’s blog. Elements utilizing CSS Regions now support automated height, and text decorations are now being properly applied when ::first-line styling is present. CSS variable names are now case insensitive.
Seven nodes of the Web Audio API have been renamed to be more consistent with other node types. A “force” parameter has been added to the DOMTokenList’s toggle() method, Content Security Policies now support paths at file-level granularity and text controls were given the setRangeText() method.
The vendor prefix of window.performance.now() has been removed. RequestAnimationFrame also had its vendor prefix removed, and a high-resolution timestamp is now being exposed as an argument for requestAnimationFrame’s callback.
Other changes which occurred in the last two weeks:
- The Apple Mac port has enabled support for the Encrypted Media specification.
- Chromium has enabled support for MathML, and started using Harfbuzz-NG on Linux.
- Chromium now also has support for deferred image decoding.
- Dirk added per-file OWNERS support, which allowed removing of the wildcard OWNERS on src/.
- Password generation can now be enabled through Chromium’s about:flags page.
- Synchronizing experimental features (about:flags) is being worked on.
- The disambiguation popup for Android has now been implemented in Chromium.
- By translating C99 to C89 syntax, ffmpeg can now be compiled for Chromium on Windows.
I know I’ve been out of it for a couple of weeks, but let’s get back on the weekly track! 🙂
Update: Scoped stylesheets will *not* be shipping with Chrome 24 yet, sorry!