diff options
author | carson <carson@leaddyno.com> | 2020-05-16 14:30:25 -0700 |
---|---|---|
committer | carson <carson@leaddyno.com> | 2020-05-16 14:30:25 -0700 |
commit | 6e06c0df877d0f4792b110e26e961d4cfd2fd96d (patch) | |
tree | 95007106660ff6fd529b06dc2ec4af5e0215139e /test/no-indicator-css.html | |
parent | d4b4d462ab577a8e481e07e540bb3bc4343476c6 (diff) | |
download | htmx-6e06c0df877d0f4792b110e26e961d4cfd2fd96d.tar.gz htmx-6e06c0df877d0f4792b110e26e961d4cfd2fd96d.zip |
Better style handling:
* inject the style as a stand alone element
* support the meta directive to not include the default style
fixes https://github.com/bigskysoftware/kutty/issues/13
Diffstat (limited to 'test/no-indicator-css.html')
-rw-r--r-- | test/no-indicator-css.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/no-indicator-css.html b/test/no-indicator-css.html new file mode 100644 index 00000000..04f820a3 --- /dev/null +++ b/test/no-indicator-css.html @@ -0,0 +1,16 @@ +<html lang="en"> +<head> + <meta charset="utf-8" /> + <meta name="kutty-config" content='{"includeIndicatorStyles":false}'> + <title>Test if the includeIndicatorStyles meta option works</title> + <script src="../src/kutty.js"></script> +</head> +<body> + <h1>You should see bars here:</h1> + <p> + We are overriding the normal CSS inclusion with the meta directive <code>{"includeIndicatorStyles":false}</code> + so you should see the indicator because it is not being hidden by the default classes. + </p> + <img class="kutty-indicator" src="img/bars.svg" width="200"> +</body> +</html> |