[Pkg-mozext-commits] [itsalltext] 268/459: Added preferences tests
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:28 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 382e3e3fbcaed85f28d4d39c77fd8d31c92310f4
Author: docwhat at gerf.org <docwhat at gerf.org>
Date: Mon Oct 1 09:49:19 2007 -0400
Added preferences tests
---
tests/index.html | 3 ++-
tests/preferences.html | 42 +++++++++++++++++++++++++++++++
tests/style.css | 67 ++++++++++++++++++++++++++++++++++++++------------
3 files changed, 95 insertions(+), 17 deletions(-)
diff --git a/tests/index.html b/tests/index.html
index fd005db..650af24 100644
--- a/tests/index.html
+++ b/tests/index.html
@@ -28,6 +28,7 @@
<li><a href="basic.html">Basic HTML</a></li>
<li><a href="basic.xhtml">Basic XHTML</a></li>
<li><a href="menu.html">Menus</a></li>
+ <li><a href="preferences.html">Preferences</a></li>
<li><a href="extended.html">Extended Attributes</a></li>
<li><a href="hidden.html">Hidden Textareas</a></li>
<li><a href="style.html">Styles</a></li>
@@ -35,7 +36,7 @@
<li><a href="revisit.html">Revisit</a></li>
</ol>
- <hr>
+ <hr/>
<address><a href="http://docwhat.gerf.org/email/">Christian Höltje</a></address>
</body>
</html>
diff --git a/tests/preferences.html b/tests/preferences.html
new file mode 100644
index 0000000..fad5d9e
--- /dev/null
+++ b/tests/preferences.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Setup Tests</title>
+ <link rel="stylesheet" href="style.css" type="text/css">
+ </head>
+
+ <body>
+ <h1>Preference Tests</h1>
+
+ <div class="back"><a href=".">back</a></div>
+
+ <p>
+ Purpose: to verify that the preferences exist are work correctly.
+ </p>
+
+ <form action="" method="get">
+ <p>
+ Use this textarea for the tests below:
+ <textarea>testing area</textarea>
+ </p>
+ </form>
+
+ <ol>
+ <li>
+ Go to the menu <tt>Tools -> It's All Text! -> Preferences</tt>
+ </li>
+ <li>
+ Disable “In-Page Edit Buttons”.
+ </li>
+ <li>
+ Mouse over the textarea. The edit button should be gone.
+ </li>
+ <li>
+ Re-enable “In-Page Edit Buttons”.
+ </li>
+ </ol>
+
+ <div class="back"><a href=".">back</a></div>
+ </body>
+</html>
diff --git a/tests/style.css b/tests/style.css
index c3eb330..1184c39 100644
--- a/tests/style.css
+++ b/tests/style.css
@@ -1,20 +1,55 @@
-html, body { background: #ffa; color: #000;
- font: 1em sans-serif; }
-h1 { background: #00f; color: #fff;
- margin: -1ex -1em 1ex;
- padding: 0.8ex 1em 0.2ex; }
-form { margin: 0; padding: 0; }
-textarea { background: #ddd; color: #000;
- height: 3em; width: 30em; display: inline; }
+html, body {
+ background: #ffa;
+ color: #000;
+ font-family: Helvetica, sans-serif;
+}
+h1 {
+ background: #00f;
+ color: #fff;
+ margin: -1ex -1em 1ex;
+ padding: 0.8ex 1em 0.2ex;
+}
+form {
+ margin: 0;
+ padding: 0;
+}
+textarea {
+ background: #ddd;
+ color: #000;
+ height: 3em;
+ width: 30em;
+ display: inline;
+}
-tt { color: #080; font-weight: bold; font-size: 1.1em; }
+tt {
+ color: #080;
+ font-weight: bold;
+ font-size: 1.1em;
+}
-ol li, ul li, p { line-height: 1.2em; margin: 0.4em; }
+ol li, ul li, p {
+ line-height: 1.2em;
+ margin: 0.4em;
+}
-.boxed { border: 1px solid #228; min-height: 4em; }
-.back { float: right;}
-.back a { background: white; color: blue; border: 1px solid blue;
- text-decoration: none; padding: 0.5ex 1ex; }
-.back a:hover { background: #def; }
+.boxed {
+ border: 1px solid #228;
+ min-height: 4em;
+}
+.back {
+ float: right;
+}
+.back a {
+ background: white;
+ color: blue;
+ border: 1px solid blue;
+ text-decoration: none;
+ padding: 0ex 1ex 0.5ex;
+}
+.back a:hover {
+ background: #def;
+}
-.note { font-size: xx-small; }
+.note {
+ font-size: xx-small;
+}
--
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