0.0.1 • Published 6 months ago

@trvt/utils v0.0.1

Weekly downloads
-
License
AGPLv3
Repository
-
Last release
6 months ago

Utils

CSS Layer tools and tests

This is a set of scripts that test the CSS layers in any loaded style. Including style tags, constructed styles, and linked styles.

getNameList

This return and array of the CSS Layer statement. We can use this to test all the other style sheets.

runLayerTestOn

This is a test that by default runs on the document and checks every style loaded. We can also point to a Shadow DOM.

runLayerTestWith

This is a test that runs on a given style sheet.

0.0.1

6 months ago