WheelEvents, Elliptical Canvas Paths and chrome://inspect Improvements
Published on in Blink, Google Chrome, Last Week, tech. Version: Chrome 31
Last week, 430 authors committed 1,760 changes to the Blink, Chromium, Skia and v8 repositories. This article highlights some of them, up to revision 220870.
Christophe deprecated the returnValue property on all events, and instead properly implemented the property on the onbeforeunload event. He made arguments mandatory on a ton of native methods, and fixed the <select>.remove() method to act as described in DOM4 is no index argument has been passed. Two weeks ago he also implemented the WheelEvent from DOM Level 3.
The preferred and intrinsic width calculations for multiple column layout have been aligned with the specification. Support for ellipses as primary citizens in the world of 2d canvas path segments has been implemented. The change which makes devicePixelRatio include browser zoom has now been enabled by default. Support for the paint-order style for SVG elements has been implemented, as has the object-fit property which aids in maintaining the aspect ratio of replaced contents within its content box.
As for experimental features, the viewport will be reset to its implicit size when @viewport rules at-rules are being dynamically removed. The escape key may now be used to dismiss an active <dialog> window, which have also been made ARIA-aware and are now able to fire close() events. Work on unprefixed CSS Animation also continues, now with the CSSOM part.
Other changes which occurred last week:
- A more convenient way of adding shortcuts to the launcher has been implemented for Android.
- Android will now start offering corrections for <input type=text> fields.
- Lots of work is going on in Chrome’s Cast implementation with very unclear descriptions.
- Speech recognition from the Web Speech API can now be used in more accessible content_shell builds.
- More polishing has been done on the chrome://inspect page for devices.
- chrome://inspect is now able to display the visibility, position and size of Chrome-based Android WebViews.
- Chrome extensions are now able to report runtime errors to a specialized error console.
- The console namespace (i.e. console.log()) are now available in Web Workers.
- PNaCl has been enabled by default for Chrome 31 again.
Thanks for reading!