Faster querySelector(All)s, PNaCL and a new Popup Blocker

Published on in Blink, Google Chrome, Last Week, tech. Version: Chrome 30

Last week yielded 1,798 commits made by 419 authors in the Blink, Chromium, Skia and v8 repositories. This article discusses them, up to revision 214188.

Takashi landed a fast path for querySelector(All) containing a single ID, class or tag selector, yielding impressive performance improvements (up to 9480%!). Meanwhile, Alpha improved decoding time of gif images by 12%.

Chrome for Android has gained support for MSE and ClearKey-based EME, which may or may not be available depending on the device’s configuration. Anti-aliasing has also been disabled for the Chrome 29 release.

The API exposed by the experimental IME API has been aligned with the latest Editor’s Draft. document.implementation.hasFeature() will now return true for any non-SVG feature and the equally exotic compareDocumentPosition() method also had it’s behavior aligned with the spec. Blink has also switched to using v8′s implementation of typed arrays rather than its own.

The proprietary -webkit-svg-shadow CSS property has been removed. Height calculations for tables which use spanning rows have been improved and parsing of the “column: auto <length>” syntax for the multi-column CSS properties has been implemented.

A new experimental Web Platform feature (available in about:flags) are unprefixed Shadow DOM APIs. Exciting!

Other changes which occurred last week:

  • Support for PNaCl has been enabled by default for all desktop versions of Chrome 30.
  • The in-development Chrome-based Android WebView will have “Mobile” in its user agent for phones.
  • Jochen improved Chrome’s popup blocker to not load popups at all, rather than just hiding them.
  • The HTML Imports feature will be respecting the set Content-Security-Policies.
  • Various improvements and additions were made to the chrome.downloads extension API.
  • Chrome’s “You are offline” page will now display a fancy dinosaur!

There won’t be an update next week because I’ll be on holiday in New York :-). Thanks for reading!

3 Responses to “Faster querySelector(All)s, PNaCL and a new Popup Blocker”

Both comments and pings are currently closed.

Peter Kasting

July 31, 2013 at 12:58 am

Alpha’s change improves GIF decoding time by 12%, not 56%. 56% is a sum over several possible improvements, not all of which have landed (or are even coded).


Peter Beverloo

July 31, 2013 at 2:13 am

Peter: amended, thanks! I saw that the description mentioned 12%, but thought I missed something as some posts on plus mentioned 56%.