We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Le shadom-dom se matérialise ainsi dans le html :
Il est ignoré par l'extension.
Sur le site web https://candidat.francetravail.fr/inscription-en-ligne/ par exemple, on trouve du shadow-dom, Green-it mesure un dom à 270 alors que le vrai dom est à 780.
const countShadom = () => { const countElements = (element) => { let count = 1; Array.from(element.children).forEach(child => { count += countElements(child); }); if (element.shadowRoot) { Array.from(element.shadowRoot.children).forEach(sChild => { count += countElements(sChild); }); } return count; }; return countElements(document.body) }
The text was updated successfully, but these errors were encountered:
cnumr#79 prise en compte du shadow dom
c3762d3
No branches or pull requests
description
Le shadom-dom se matérialise ainsi dans le html :
Il est ignoré par l'extension.
Reproduire
Sur le site web https://candidat.francetravail.fr/inscription-en-ligne/ par exemple, on trouve du shadow-dom, Green-it mesure un dom à 270 alors que le vrai dom est à 780.
Pistes
The text was updated successfully, but these errors were encountered: