summaryrefslogtreecommitdiff
path: root/test/js/dom-element-reflection.html
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-04 15:11:19 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-04 15:11:19 +0000
commitf06ec6390a3286db180ad3fda97baab9e8b54663 (patch)
treef5dbe9d328ab95aeb3f1f5745b347c9a5bfb32d0 /test/js/dom-element-reflection.html
parent3cc80b6a7d6e926278df56e0005788ab90ae213e (diff)
downloadnetsurf-f06ec6390a3286db180ad3fda97baab9e8b54663.tar.gz
netsurf-f06ec6390a3286db180ad3fda97baab9e8b54663.tar.bz2
add noscript warning to all tests so it is obvious when js is disabled
Diffstat (limited to 'test/js/dom-element-reflection.html')
-rw-r--r--test/js/dom-element-reflection.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/dom-element-reflection.html b/test/js/dom-element-reflection.html
index 2ec9d2666..f2a7b4eac 100644
--- a/test/js/dom-element-reflection.html
+++ b/test/js/dom-element-reflection.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1 id="header" class="normal">DOM firstElementChild reference (#header .normal)</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>body.firstElementChild.id:</b> <script>document.write(document.body.firstElementChild.id);</script></p>
<p><b>body.firstElementChild.className:</b> <script>document.write(document.body.firstElementChild.className);</script></p>