@trvt/utils
v0.0.2
Published
A set of utilities to build, test, and run Trivet.
Downloads
4
Readme
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.