datepicker: add more position tests, remove compat.js - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cc9f1342e27fd2ad3d5c1ef62e407a7efe9dbf5d
(DIR) parent dbeaa14c679d2cdde4b53ecec1d17f2735ab5d56
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 2 Jun 2016 18:43:16 +0200
datepicker: add more position tests, remove compat.js
Diffstat:
M datepicker/example.html | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/datepicker/example.html b/datepicker/example.html
@@ -20,10 +20,13 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-01" max="2016-12-31"
<div style="position: fixed; top: 250px; left: 300px;">
- <input type="date" class="date" min="2016-01-01" max="2016-12-31" />
+Form:
+<form method="post">
+ <label for="datefixed"><strong>Date: </strong></label>
+ <input type="date" class="date" id="datefixed" min="2016-01-01" max="2016-12-31" />
+</form>
</div>
-
<div style="position: absolute; top: 1250px; left: 1300px;">
<input type="date" class="date" min="2016-01-01" max="2016-12-31" />
</div>
@@ -47,7 +50,14 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-01" max="2016-12-31"
<br/>
<br/>
<br/>
-<br/>
+
+<table>
+<tr>
+<td>Test offset</td>
+<td><input type="date" class="date" min="2016-01-01" max="2016-12-31" /></td>
+</tr>
+</table>
+
<br/>
<br/>
<br/>
@@ -89,7 +99,6 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-01" max="2016-12-31"
<br/>
<input type="date" class="date" min="2016-01-05" max="2016-01-08" />
-<!--[if lte IE 8]><script type="text/javascript" src="../compat.js"></script><![endif]-->
<script type="text/javascript" src="datepicker.js"></script>
</body>