The “ch” unit, the Threaded HTML parser and Chromium 27
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 27
Today’s update discusses the 725 WebKit and 990 Chromium commits that landed last week, totaling up to 1715 changesets.
Chromium’s version number is now equal to the number of species Captain Jean-Luc Picard made contact with in Star Trek’s The Next Generation series: 27.
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.
- Enabling the threaded HTML parser can now be done through the --enable-threaded-html-parser flag.
- Ryosuke uploaded a replacement for CIA.
Cheers for reading!