Mutation Observers, Reversed Animations and Faster JPEGs
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 19
With 995 commits to Chromium’s repository and 754 to WebKit’s, last week brought in another 1,749 changes to the projects. Highlights include Mutation Observers being enabled for all WebKit ports and reversed CSS Animations.
Web Inspector’s Heap Profiler overview screen got some UI improvements and will now show percentages by default next to absolute usage numbers. Hovering over elements with :hover styles defined won’t lock up anymore, the debug side-bar in the Script Panel can now be hidden and DOM edits can now be undone. Brian Grinstead contributed a color picker, bridging the gap until actual <input type=color> gains support. Touch events are now supported by Web Inspector, and can be enabled through the Settings panel.
Mutation Observers have been enabled by default on all WebKit ports. The click() method is now implemented on HTMLElement, making it available for all elements in the DOM. URLs specified in <a ping> won’t be lowercased anymore, the state attribute has been added to the History’s DOM interface and the MediaStream API now supports the onstatechange event for PeerConnection. Finally, the Shadow DOM’s <shadow> element has been added.
Reverse directions for CSS Animations are now available. The calc() function can now, in limited fashion, be used with the hsl() and rgb() functions, and no longer supports the mod operator. Flexboxes can now center and refactorings are being done in preparation of multi-line support. unicode-bidi: plaintext is now supported for inline elements and line-grid-snap has been renamed line-snap.
With 41 commits in total, Haraken did another round of IDL cleanups.
Other changes which occurred last week:
- Work on getting CSS Filters to Chromium’s accelerated layers is being done.
- Apple has landed support for hardware accelerated CSS Filter animation.
- Decoding of JPEG images has been improved by 9% on Chromium.
- A framework for WebSocket extensions (i.e. per-frame compression) has landed.
- Multisampling for Safari’s WebGL for ATI cards running on Mac OS X 10.7.2 or later.
- The score calculations for ranking auto-complete shortcut providers has been updated.
- Besides SwiftShader for Windows, Aura seems to be experimenting with LLVMPipe.
- WebGL is now able to report errors to Web Inspector’s console.
- Due to improved style sharing, certain page cycler tests have been sped up.
- Asking Google for spelling suggestions in Chromium is now possible on all platforms.
- Directionality for script-triggered dialog boxes has been aligned with the HTML specification.
- Lots of updated SVG Tests by WildFox, using a new method to wait for the first draw.
- An FFTFrame implementation based on Intel’s IPP library got added.
- Chris Rogers is now a WebKit reviewer, congratulations!
And that’ll be today’s update live from Mountain View :).