Last week in WebKit:
The “ch” unit and CSS.supports()
This update describes the 725 WebKit commits that landed last week, up to revision 143146.
Within Web Inspector, an option has been added to split the Elements and Source sidebars in two separate panes. DOM nodes are now being highlighted when hovering over them in the Debug panel, the ability to have whitespace indicators now is experimental and the re-do feature in the text editor will now move the selection past the text.
Support for the “ch” CSS unit has been added to WebKit, which matches the width and spacing of the “0”-glyph in the current font. The @supports at-rule now has improved error recovery, the “src” property in @filter at-rules can now be parsed correctly and the correct behavior of the -webkit-margin-collapse property has been implemented.
Changing an element’s border or padding will now re-layout its children, intrinsic widths on replaced elements -such as images- are now more accurate and Opera’s Morten Stenshorne made WebKit stop ignoring column rules wider than the gaps. CSS Exclusions’ shape-inside property now defaults to outside-shape, and shape-inside now supports circles.
Support for the ::distributed() pseudo-element, part of the Shadow DOM specification, has been implemented. Pablo also landed support for the CSS.supports() method, which is the DOM API specified in the CSS Conditional Rules module.
The threaded HTML parser has been updated to pass all layout tests, and the preload scanner has been enabled as part of the background parsing thread after parts of it have been updated to be therad safe.
Other changes which occurred last week:
- WebKit’s Web Intents implementation has been removed from the repository.
- The WebKit GTK port enabled support for CSS’ image-set and CSS Variables in development builds.
- Support for the Page Visibility API has been enabled for the iOS port.
- An OpenCL-accelerated implementation of SVG’s flood filter has been added.
- Ryosuke uploaded a replacement for CIA.