
Microsoft has surprised web developers by injecting a new feature into its 3D View tool , this tool is part of the development tools (Dev Tools). Announced on Tuesday, a feature called the Composited Layers tab will join other tools in the 3D View tool to solve common web development problems like unnecessary scrollbars, z-index stacking issues and DOM complexity.
The Composite Layers feature is designed to separate web pages into the correct number of layers. Patrick Brosset, senior product manager for Microsoft Edge, said it's useful when a component animates or changes independently of other components. It can be recalled that Microsoft Edge DevTools previously had a separate layer tool that provided the same functionality. However, the company decided to remove the panel from it, thus merging it with the 3D view tool.
In the blog post announcing the arrival of the new feature, Brosset also detailed the importance of these layers and their basic role on the web, and discussed the activity of the browser rendering engine at a high level. According to him, the browser engine follows a series of steps, starting from HTML and CSS to the pixels on the screen. These processes include parsing HTML code and creating a DOM tree, parsing CSS code and obtaining style and layout information, generating new tree structures, and drawing the page to the screen.
"In the final step, the engine may decide to draw the page all at once, or split it into multiple layers, draw them separately, and then composite the final image from them," Brosset notes. "There are specific CSS properties and HTML elements that cause the engine to decide to create a separate layer. For example, using the 3D transform property or the will-change property causes the engine to create layers. This way, when the content in these layers changes, the engine Simply repaint these individual layers rather than the entire viewport."
Clicking on the composition layers tab will show the user the created layers with their list displayed on the left side column. The tool will also highlight things in the 3D scene, and clicking on the layers will provide the user with valuable information about them, such as size.
"As a web developer, it's very useful to know whether the part of the page you intend to animate is actually in its own layer," he adds. "If so, then you can be sure that the rest of the page won't need to be redrawn while the animation is playing. But it's also important to check that you don't accidentally create too many layers, as each layer requires memory."
The above is the detailed content of Microsoft adds composite layer tab to 3D View tool. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version
Useful JavaScript development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools
