Font CSS Properties, Selector Source Location and calc() Tests
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 18
Exactly 1,500 changes landed last week, 890 for Chromium and 610 for WebKit, bringing changes such as some usability updates in the CSS Profiler and new font-related CSS properties.
The experimental Sidebar Extension API has been removed from Chromium. The Downloads Extension API gained an getFileIcon method and now also works for POST-download requests, and Panels may now be resized and spawned without drawing attention using the chrome.windows API. chrome.experimental.dns made its entry.
Early steps in supporting IndexedDB in Web Inspector have been made and a “source” column has been added to the CSS Profiler, directly pointing out the offending CSS rule.
As part of an ongoing effort in WebKit, several failing tests on the IE Testcenter have been fixed. Among these are executing prepared scripts even when they’ve been removed from the DOM and sandboxed i-frames will now block the autofocus attribute if the sandbox flags request it.
Following a specification change, the flex-align CSS property has been renamed to flex-item-align and a new version of flex-align has been implemented, and the implementation has been taught about handling absolutely positioned elements within flexboxes. Color matrix-based filters will now be done by Skia for Chromium, and the serpia tone filter has been aligned color-wise for Mac OS X. Text decorations won’t propagate to all descendants anymore and several more element types can now render outlines.
Two new CSS properties were implemented. The font-kerning property from the CSS Fonts specification will allow you to define kerning behavior, and the initial implementation of the font-variant-ligatures property will allow you to explicitly enable or disable OpenType’s common ligatures feature on a font.
Other changes which occurred last week:
- A basic content-shell has been added for Linux, part of the Content API refactoring.
- Another eight patches have been landed by Mike Lawther containing lots of new CSS3 calc() tests.
- Preparations are being made in the WebGL implementation to allow sharing resources.
- Calculating collapsed borders will now be done less often, resulting in a performance improvement.
- Injecting a stylesheet with only scoped selectors will now only invalidate the sub-tree.
- Speech input will now be send to the right element, even if the focus has changed.
- Radio-button group selection will now only apply to the actual document they’re in.
- The WebIDL [Supplemental] IDL has been used to begin modularizing WebSQL.
Some interesting things currently going on include a Baidu contribution and basic grid alignment from the CSS Line Grid specification.