To make it more concrete, consider the CSSOM tree above.
Para ser más concretos, considera el árbol del CSSOM anterior.
For each visible node, find the appropriate matching CSSOM rules and apply them.
Para cada nodo visible, encuentra las adecuadas reglas de CSSOM y aplícalas.
Asynchronous resources unblock the document parser and allow the browser to avoid blocking on CSSOM prior to executing the script.
Los recursos asincrónicos desbloquean el analizador de documentos y permiten que el navegador evite el bloqueo del CSSOM antes de ejecutar la secuencia de comandos.
Even if the script is inlined directly into the page, the browser can't execute it until the CSSOM is constructed.
Dado que la página también está directamente integrada a la página, el navegador no puede ejecutarla hasta construir el CSSOM.
What if the browser hasn't finished downloading and building the CSSOM when we want to run our script?
¿Qué ocurriría si el navegador no ha terminado de descargar y compilar el CSSOM cuando queramos ejecutar nuestra secuencia de comandos?
The answer is simple and not very good for performance: the browser delays script execution and DOM construction until it has finished downloading and constructing the CSSOM.
La respuesta es simple y no muy buena para el rendimiento: el navegador demora la ejecución de la secuencia de comandos y la construcción del DOM hasta haber terminado de descargar y construir el CSSOM.
Another subtle property of introducing scripts into our page is that they can read and modify not just the DOM, but also the CSSOM properties.
Otra propiedad discreta de la introducción de secuencias de comandos en nuestra página es que pueden leer y modificar no solo el DOM, sino también las propiedades de CSSOM.
In the render tree construction we saw that the critical rendering path requires both the DOM and the CSSOM to construct the render tree.
En la construcción del árbol de representación, vimos que la ruta de representación crítica requiere el DOM y el CSSOM para construir el árbol de representación.
If either the DOM or CSSOM were modified, you would have to repeat the process in order to figure out which pixels would need to be re-rendered on the screen.
Si el DOM o el CSSOM se modifican, deberás repetir el proceso para conocer los píxeles que se deben representar nuevamente en la pantalla.
Why does the CSSOM have a tree structure?
¿Por qué el CSSOM tiene una estructura de árbol?
Before the browser can render the page, it needs to construct the DOM and CSSOM trees.
Para que el navegador pueda representar la página, debe construir los árboles del DOM y el CSSOM.
It allows you to include an element in your HTML, usually as part of the <head>, that will trigger a request for the Webfont early in the critical rendering path, without having to wait for the CSSOM to be created.
Permite incluir un elemento en el código HTML, en general como parte del <head>, lo cual activa una solicitud de la fuente para sitios web al comienzo de la ruta de acceso de representación crítica, sin tener que esperar la creación del CSSOM.
Next, lets talk about the render tree that links the DOM and CSSOM together.
A continuación, hablaremos sobre el árbol de representación que vincula al DOM y el CSSOM.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.