summaryrefslogtreecommitdiffstatshomepage
path: root/test/manual/no-indicator-css.html
diff options
context:
space:
mode:
authorcarson <carson@leaddyno.com>2020-05-16 15:40:15 -0700
committercarson <carson@leaddyno.com>2020-05-16 15:40:15 -0700
commite1e4f25b0ef21e96eda192e69ab89e207dd7f617 (patch)
tree805920d8b3c99c9a0d12310ece88c788d739fbc6 /test/manual/no-indicator-css.html
parent4ebdabd2279c9e44058effdc831285f87cfb32b3 (diff)
downloadhtmx-e1e4f25b0ef21e96eda192e69ab89e207dd7f617.tar.gz
htmx-e1e4f25b0ef21e96eda192e69ab89e207dd7f617.zip
regigger tests and add manual tests for hard-to-test things like prompt and confirm
Diffstat (limited to 'test/manual/no-indicator-css.html')
-rw-r--r--test/manual/no-indicator-css.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/manual/no-indicator-css.html b/test/manual/no-indicator-css.html
new file mode 100644
index 00000000..d24753a0
--- /dev/null
+++ b/test/manual/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 style="padding:20px;font-family: sans-serif">
+ <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>