[Pkg-mozext-commits] [itsalltext] 214/459: added more tests
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit 04767f00a09977989610811e001372a1b7d48501
Author: Christian Höltje <docwhat at gerf.org>
Date: Tue May 8 20:45:27 2007 -0400
added more tests
---
tests/hidden.html | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/tests/hidden.html b/tests/hidden.html
index 1693377..7cec535 100644
--- a/tests/hidden.html
+++ b/tests/hidden.html
@@ -7,20 +7,37 @@
<script type="text/javascript">
function toggle(that, event) {
var dis = document.getElementById('dis');
+ var dis2 = document.getElementById('dis2');
var vis = document.getElementById('vis');
+ var vis2 = document.getElementById('vis2');
+
if(dis.style.display == 'none') {
dis.style.display = '';
} else {
dis.style.display = 'none';
}
+ if(dis2.style.display == 'none') {
+ dis2.style.display = '';
+ } else {
+ dis2.style.display = 'none';
+ }
if(vis.style.visibility == 'hidden') {
vis.style.visibility = '';
} else {
vis.style.visibility = 'hidden';
}
+ if(vis2.style.visibility == 'hidden') {
+ vis2.style.visibility = '';
+ } else {
+ vis2.style.visibility = 'hidden';
+ }
return false;
}
</script>
+ <style type="text/css">
+ .nodis { display: none; }
+ .novis { visibility: hidden; }
+ </style>
</head>
<body>
@@ -44,10 +61,24 @@
In the boxed area below, there should <em>not</em> be a button or a textarea visible.
<br>
<div class="boxed">
+ <textarea id="dis2" class="nodis">display: none</textarea>
+ </div>
+ </li>
+ <li>
+ In the boxed area below, there should <em>not</em> be a button or a textarea visible.
+ <br>
+ <div class="boxed">
<textarea id="vis" style="visibility: hidden;">visibility: hidden</textarea>
</div>
</li>
<li>
+ In the boxed area below, there should <em>not</em> be a button or a textarea visible.
+ <br>
+ <div class="boxed">
+ <textarea id="vis2" class="novis">visibility: hidden</textarea>
+ </div>
+ </li>
+ <li>
Click on the button to toggle the hiddeness/visibility of
the textareas. The edit button should appear within a few
seconds. Click the toggle button again, and the edit
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list