JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
clean up testing color scheme
authorJason Woofenden <jason@jasonwoof.com>
Fri, 18 Mar 2016 14:17:11 +0000 (10:17 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Fri, 18 Mar 2016 14:17:11 +0000 (10:17 -0400)
editor_tests_compiled.html
page_dark.styl

index 5a07fe9..4c55b41 100644 (file)
 </head>
 <body>
        <h1>Peach HTML5 Editor test page (compiled version)</h1>
-       <p>This version of the editor test page requires that you've compiled all the source files. (Just run <code>make</code>).</p>
+       <p>This color scheme is just temporary, for testing the cursor and annotations on a variaty of background colors</p>
        <form action="#" method="get">
-       <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea name="in" id="in">&lt;H1>Headline!&lt;/h1>&lt;p&gt;  normal text that is hopefully long enough that it will wrap around and spill onto a second line.&lt;/p>    &lt;p style="background: #888">Text with a gray background&lt;p>    &lt;p style="background: #00f">Text with a blue background&lt;p>
-       &lt;p>testing &amp;lt;br&amp;gt; e f&lt;br>g   &lt;br>  h i j <a href="http://example.com">Click me!</a> o p q r&lt;/p>
+       <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea name="in" id="in">&lt;H1>Headline!&lt;/h1>&lt;p&gt;  normal text that is hopefully long enough that it will wrap around and spill onto a second line.&lt;/p>    &lt;p  >Text   with lots of extra whitespace
+
+
+
+       in the original html  and no closing p tag   &lt;p>    &lt;p>normal paragraph&lt;p>
+       &lt;p>testing &amp;lt;br&amp;gt; e f&lt;br>g   &lt;br>  h i j &lt;a href="http://example.com">Click me!</a> o p q r&lt;/p>
+       &lt;div style="color: white">
        &lt;p> y z     &lt;strong&gt;Bold &lt;em&gt; Italic + Bold&lt;/strong&gt; Italic &lt;/em&gt; Normal&lt;/p&gt;
 &lt;p style="white-space: pre-wrap"&gt;this &amp;lt;p&amp;gt; has     white-space: pre-wrap&lt;/p&gt;
 
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
+&lt;p>  Above, there's a div containing 4 divs. The third contains just an NBSP and the fourth is completely empty&lt;/p>
+&lt;p>final paragraph.&lt;/p>
+&lt;/div>
        </textarea></p>
        <p><input id="button" type="submit" value="loading..." disabled></p>
        </form>
        <script src="parser.js"></script>
        <script src="editor.js"></script>
        <script src="editor_tests.js"></script>
-       <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - AGPLv3+</p>
+       <p><a href="https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=tree">Source</a> - <a href="https://gnu.org/licenses/agpl.html">AGPLv3+</a></p>
 </body>
 </html>
index 21ac9db..36ca1c5 100644 (file)
@@ -1,6 +1,8 @@
 body
        color: white
        background: black
+       color: #000
+       background: linear-gradient(0deg, #000, #fff)
 
 a, a:link, a:hover, a:visited
        color: #88f