Media Fragments, Performance and MediaElementAudioSourceNode
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 18
The new year’s first week ended calmly, bringing in 547 commits to WebKit and 650 to Chromium. Highlights include support for temporal dimensions for media files, alignment of Safari’s JavaScript engine with ES5 and lots of performance improvements.
Engadget, among other sites, has become significantly faster in WebKit, now using 10% less CPU over the entire page load due to analyzing inline stylesheet scopes. A CSS Selector using multiple indirect adjacency combinators won’t be able to be superlinear anymore, inserting nodes into the DOM has been sped up and several other tweaks were implemented.
Sanitization of non-parsable strings in date and time input boxes is now possible in WebKit, emptying the value if an invalid value has occurred. The </script>-close tag will now be properly highlighted in View Source, and horizontal paddings and borders will be used instead of vertical ones for a CSS table’s fixed width.
Safari’s JavaScript engine aligned its behavior closer to the ECMAScript specification. The JSON object is now configurable, the parseInt method won’t parse octal numbers anymore, ThrowTypeError is now a singleton and date parsing has been made more liberal. Alexis Menard implemented getComputedStyle output for the outline, border, list-style, border-image and background properties. Finally, the Web Audio API is now able to integrate with audio and video elements throught the MediaElementAudioSourceNode object!
Eric Carlson implemented the temporal dimension portion of the Media Fragments URI specification. This allows you to append a formatted hash-string to any media file’s URL selecting which portion of the file should be played. For example, this plays the fourth until the twelfth second: video.webm#t=4,12.
Other changes which occurred last week:
- Initial sets of layout tests for the CSS3 calc() function are being committed, pending the feature itself.
- Web Inspector now also allows you to modify HTML content through the Resources Panel.
- The WebKit build-bot console page now displays builders based on their port.
- The BlackBerry WebKit Port has enabled the download attribute.
And that’ll be all for now! Lets get back on the Monday-track for updates starting next week!