Last week in WebKit:
WebGL Inspection and Sticky Positioning
This update discusses the 650 commits made last week, up to revision 126754.
Web Inspector’s Profile panel is getting a great new (experimental!) feature from Andrey, namely WebGL inspection. The Timeline panel is now able to show the cause for a style recalculation, the console.time() method now usesperformance.now() for more accuracy and more work has been done on improving performance.
Simon landed support for sticky CSS positioning, which limits an element to be positioned within both it’s container and the viewport. Support for parsing the -webkit-text-decoration-style has been added, the arguments for the blend-mode property can now be parsed and CSS masking and filters are now being applied in the right order.
Blob and File System URIs are now considered to be same-origin for Content Security Policy and computed styles for 2D Transforms have been aligned with the specification. An initial implementation of CSS Exclusions’ shape-inside property landed, WebKit didn’t miss out on the usual set of Flexbox improvements and David’s work on re-implementing Multiple Columns on top of CSS Regions saw two more commits.
The postMessage() function now accepts any kind of data as its message, allowing you to post arrays and objects as well. Changing the class attribute on any kind of element will now update the classList as well, and work is being done for allowing pointer lock in sandboxed iframes. The automatic DOM transactions feature for Undo Manager is now implemented, just like the item() method, and the undoscope attribute has been removed.
Another new feature which is in the works, is being able to use the “overflow-y” property as a way to make the render view paginated, as part of implementing the Generated Content for Paged Media specification.
Other changes which occurred last week:
- Line breaking performance for complex text has been sped up by roughly 25 percent.
- The contents of elements with scolling overflow behavior can now be composited.
- Error events will now be triggered on images which cannot be loaded due to CSP restrictions.
- Usage of -webkit prefixed CSS properties will be tracked as Chromium histograms, for those who opted in.
- The new storage limitations can now also cover WebSQL databases from third parties in Web Workers.
- Parsing and displaying for RSS 1.0, RSS 2.0 and Atom content is now supported by the BlackBerry port.
- The BlackBerry port enabled support for the getUserMedia API and blob responses for XHR.
- The EFL port enabled support for slider tick mark snapping and the new CSS Text Decoration features.