Last week in WebKit:
viewport-relative CSS units and JavaScript Speech
755 commits landed in WebKit last week, containing highlights such as support for three new viewport-relative CSS units and work on a JavaScript Speech API.
Style declarations within Web Inspector can now be added anywhere in the declaration rather than just at the end. The DOM counter graphs aren’t experimental anymore, color pickers will be closed when either escape or enter gets pressed and timeline records will be opened when you click on a DOM counter graph. Furthermore, the Profiles panel has been enabled for Web Workers and suggestions will now be given for Watch Expressions.
WebKit now supports an intra-line character grid for Japanese text layouts. The initial value for the -webkit-flow-into CSS property has been changed to “none”, the display type for inline flexboxen is now supported and David Barton is continuing his work on improving MathML support, this time by fixing <msubsup> formatting. The :empty pseudo-selector won’t apply anymore when scripted additions occur, clipping behavior for a fieldset’s <legend> element has been fixed and the :scope pseudo-class is now supported as well.
The Shadow DOM’s ShadowRoot has been taught about the innerHTML property, and the <content> element will now behave like an unknown HTML element when it’s used outside of a Shadow DOM sub-tree. Microdata’s property collections gained the namedItem method and CSS Region’s NamedFlow object now supports the getRegionsByContentNode method. SVG’s <use> element has been integrated with the Shadow Root implementation and work is being done to stop SVG from mutating CSS styles directly.
Joe Thomas landed support for three new CSS units: vw, vh and vmin. These units allow you to define sizes based on the viewport’s width, height or smallest of the two. Following an announcement on webkit-dev, Hans landed an initial patch towards implementing the JavaScript Speech API.
Other changes which occurred last week:
- Trailing new-lines will be removed again when pasting text in a single-line text box.
- IPP optimizations have been enabled for the Web Audio API’s Biquad filter.
- Adrienne Walker is now a WebKit reviewer, congratulations!
- Cloning and transferring ArrayBuffers has been implemented for JSC per Khronos’ typed array specification.
- Lines containing right-to-left text on Facebook can be selected again.
- Very early basics of the new KURLWTFURL URL parser were landed by Benjamin.
- The XMLHttpRequest Blob response test on html5test.com will now recognize Chromium.
- Layers required for elements which potentially have to hide overflow will now be created lazily.
- Plenty of BlackBerry upstreaming has been done again last week.
- Working towards date and time input pickers, a HTML-capable popup API has been added.
- Smooth Scrolling support has been added for the WebKit GTK port.
- The WebKit2 API now features the possibility to suspend and resume timers and animations.