Battery Status API, many form changes and animVal for SVG

Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 19

Exactly 1,234 patches landed in the Chromium repository last week, and 751 in WebKit’s, totaling up to 1,985 changes. Highlights include many form-related changes, the Battery Status API and performance improvements.

All signed and float Typed Arrays will now show up as normal arrays in Web Inspector. Taking heap snapshots should now be 12% faster and work is being done in preparation of supporting snippets in the Script Panel. A meta bug covering that work is available on WebKit’s Bugzilla.

CSS parsing now follows the specification when it unexpectedly runs into the end of a file and widths set on a column group won’t affect a column’s width anymore for fixed-layout tables. Three issues with the Flexible Box Layout implementation have been fixed, the “em” unit will be used correctly even when a :first-line pseudo-element changes the size and calc() can now mix percentages and absolute values for gradients and fonts.

The HTML5 meter and progress elements aren’t form--associated anymore, out-of-document radio buttons are now grouped when associated with a form and the form-attribute for labels had its behavior updated. The outer element is now labelable, while hidden input fields have lost that capability. Despite being reverted, support for color inputs seems to be really close for Chromium now.

Samsung has landed an implementation for the Battery Status API, to be enabled on the EFL port. As for Speech Recognition, stubs for WebCore’s controller and the client landed, as well as the SpeechRecognitionEvent part of the API. The MediaStream’s PeerConnection implementation has been deprecated as it’s moving towards a JSEP API. Meanwhile, Nikolas Zimmermann has been busy implementing proper animVal support for SVG.

Besides support for Mozilla’s FullScreen API, WebKit now also supports the very similar W3C Fullscreen API. The primary differences lie in capital usage for the methods and behavior while exiting fullscreen.

Other changes which occurred last week:

Two patches to keep an eye out for are work on making CSS Shaders compile on Chromium and a new image-set CSS property. That’s it again!

7 Responses to “Battery Status API, many form changes and animVal for SVG”

Both comments and pings are currently closed.

Andrew

March 19, 2012 at 10:11 pm

Just a quick question, is WebM decoding already multi-threaded?


Peter Kasting

March 20, 2012 at 12:50 am

Technically it’s not true that “Chromium will now invert web content’s colors when the Windows color scheme is white-on-black.” The correct phrasing would probably be “Chromium will now invert web content’s colors when Windows is in high-contrast light-on-dark mode.”


Peter Beverloo

March 20, 2012 at 5:19 pm

Andrew: Judging by the code, all video decoding will be done using multiple threads (two) and Theora was just an exception. So to answer your question: yes.

Peter: Amended. Thank you, again! :-).


Peter Beverloo

March 22, 2012 at 1:14 pm

In most editors, snippets can be sued to store (small) bits of code so you can enter them quickly in your scripts, without having to re-type them every time. I imagine Web Inspector’s implementation will be similar. You can enable the experimental setting and keep track of development yourself :).