

My outer div has a red border, a gray background and I've set a width of 200 pixels. Let's say I've got two div's, one inside the other. When added to a container element, any children take its place in the DOM, and it essentially disappears. The new CSS display: contents property is pretty slick! They're shown in Chrome DevTools, or you can pull them out of the response header and save them with your other performance analytics. You can track as many metrics as you want: database read times, start-up time, or whatever is important to you, by adding a Server-Timing header to your response: 'Server-Timing': 'su=42 "Start-up",db-read=142 "Database Read"' The new Server Timing API allows your server to pass timing information to the browser giving you a better picture of your overall performance. Until now, there hasn't been an easy way for the server to report its performance timing. Hopefully you're using the navigation and resource timing APIs to track the performance of your site for real users. Surma has a great post with several demos in his explainer. It's also a powerful method of polyfilling CSS features that aren't supported in a browser yet. addModule ( 'checkerboard.js' ) įor example, instead of adding extra DOM elements to create the ripple effect on a material styled button, you could use the paint API. Instead of referencing an image, you can use the new paint function to draw the image - much like a canvas element. The CSS Paint API allows you to programmatically generate an image for CSS properties like background-image or border-image. Want the full list of changes? Check out the Chromium source repository change list. Let's dive in and see what's new for developers in Chrome 65! the new CSS display: contents property can make boxes disappear!.The Server Timing API allows web servers to provide performance timing information via HTTP headers.The CSS Paint API allows you to programmatically generate an image.
