Canvas Line Dashing, MathML meets Flexbox and WebKit’s Cowhands
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 24
Sorry for the recent lack of updates, I’ve been really busy. This update discusses everything until the 24th of September, so two weeks, not including last week. Early next week I’ll publish an article covering last and this week, to get you fully up to date again.
In Web Inspector’s Style panel, the relevant selector that causes a rule to be applied to a certain element will now be highlighted. The XMLHttpRequest Replay feature has been added to the Network Panel, search and filtering features are now available in the Timeline panel and all named flows can now be displayed in the CSS Named Flows drawer.
The Flexbox implementation in WebKit now supports absolutely positioned flex items, and had two bugs fixed. Initial work for supporting exclusions for basic shapes has landed, and more work on CSS Exclusions’ shape-inside function has been done as well. Finally, the mask-type attribute on SVG’s <mask> element is now supported too.
Support for drawing dashed lines in the 2D Canvas APIs according to the specification landed, and introduced the getLineDash and setLineDash methods, and the lineDashOffset attribute. The prefixed version of Blob.slice() has been removed, and Chromium has removed support for the prefixed postMessage method. SVG’s appendItem method on path segment list has been sped up from linear to constant time. Support for creating a Shadow Root on replaced elements has been removed for now and CSS Region’s getRegionFlowRanges method on Elements has been implemented.
David Barton updated all of MathML’s rendering to be based on the Flexible Box module, simplifying the code significantly. Over the past number of months, he’s done quite a lot of work on improving WebKit’s implementation of MathML, which may ship with Chrome 24.
WebKit’s Content Security Policy implementation now features supports for paths in directives’ values. Blocked inline scripts will cause Web Inspector to pause, ignored directives due to non-ASCII values will now generate warnings and JavaScriptCore’s description when blocking eval() has been clarified.
Other changes which occurred in the last two weeks:
- A gender-neutral version of the “webkit-patch land-cowboy” has been added: land-cowhand.
- WebKit’s TestExpectations file syntax has been refreshed by Dirk.
- Setting the title to an empty string is now possible in WebKit through JavaScript.
- Mr. Kling pulled another trick out of his sleeve to reduce memory usage for pages using SVG/MathML.
- Chromium’s compositor implementation has now formally moved out of WebKit.
- The Qt port has enabled support for CSS Regions by default.
- The BlackBerry port enabled support for video subtitles through the <track> element.
- The EFL port now supports the <a download> attribute.
- Yuta Kitamura now is a WebKit Reviewer — congratulations!
If you happen to be at Fronteers 2012 this Thursday and Friday, please come say hi! If you’re not: too bad, you’re missing out :).