
Published on inGoogle Chrome,Last Week,tech,WebKit. Version:Chrome 19
Last week, 912 commits landed in Chromium and 754 at WebKit, totaling up to 1,666 changes. Highlights include scoped stylesheets, parsing of properties for the Grid Layout and a new interpreter for Apple’s JavaScript engine.
Two new extension APIs have been added to Chromium, namelya fontSettings API which will (so far) allow you to retrieve the font family for a given script, and aKey Bindings API whichallows you to register shortcuts triggering events in your extension. An APIhas been added allowing the Chrome Web Store to install multiple extensions at once, and extensionsnow also support icons sized either 256×256 or 512×512 pixels.
Acommand line flag and an about:flags entry have been added to Chromium allowing you to enable support for scoped stylesheets. CSS rules declared in <style scoped> elements will only apply to the subtree rooted at the style element’s parent element, which will prove to bereally useful for components and better encapsulation of styles.

Web Inspector’s Audit Panel gained the ability towarn developers about CSS properties which should be unprefixed. The Ctrl/Cmd {+,-,0} key combinations may now be usedto control zooming of the inspector, attributes containing links can nowbe properly selected in the Elements Panel and, while it’s not enabledby default yet, managing IndexedDB ismaking visual progress now. Showing re-paint rectangles is nowan Inspector option and threepatcheslanded preparing changes in the Timeline Panel, such as theability to align events by their start time.
Following inflator and deflatorclasses, WebKit’s WebSocket implementation now supportsper-frame compression through theDEFLATE extension. Samsung’s Kihong Kwonlanded initial support for theVibration API. The zero-width joiner (0x200D) and non-joiner (0x200C) characters are now recognized by theJSC andv8 lexers, the PopStateEvent’s state property nowequals history’s state property’s value and spin buttonsnow fire two events.
Initial parsing support for the grid-column and grid-row CSS propertieshas been added as part ofsupport for theCSS Grid Layout module. <rt> elementswon’t inherit the text-decoration property anymore, file upload controls can nowstretch to make sure the text fits in the label and the click event for transformed SVG elementsnow is reliable.
Apple’s JavaScriptCore is now a triple-tier virtual machine, addinga new low level interpreter which is 2 to 2.5 times as fast as the old one. While performance of the triple-tiering engine is neutral on performance tests, reducing the amount of JIT’ed code delivers strong performance improvements on actual websites.
Other changes which occurred last week:
Last week also happened to beEvan Martin’s last week as a member of the Google Chrome team. Besides having made more than 1,400 commits, Evan has had tremendous impact on the project ever since he started working on it. Thanks, and good luck on your next endeavours!
Both comments and pings are currently closed.
[…]http://peter.sh/2012/02/scoped-styles-deflated-websockets-and-the-vibration-api/ RedditBufferShareEmailPrintFacebookDiggStumbleUpon […]