datepicker: add test for popup inside absolute scrolling div - 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 b17bcf33384364131df7bb4ab1b80d9674f0a253
(DIR) parent 887ccc8411a5bb8673657133b894b689aab82a81
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 1 Jun 2017 19:55:08 +0200
datepicker: add test for popup inside absolute scrolling div
Diffstat:
M datepicker/test.html | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/datepicker/test.html b/datepicker/test.html
@@ -22,10 +22,15 @@
<form method="post" action="">
+<input type="date" class="date" />
+<input type="date" class="date" min="2017-01-01" />
+<input type="date" class="date" max="2018-12-31" />
+
+<br/>
+
<label for="os">OS: </label>
<input type="date" class="date" min="2016-01-01" max="2016-12-31" /><br/>
-
<input type="date" class="date" min="2016-01-01" max="2016-12-31" /><br/>
<input type="date" class="date" min="2016-01-01" max="2016-12-31" style="position: absolute; top: 100px;right: 20px" /><br/>
@@ -70,6 +75,13 @@ test
</form>
+<div id="testabsolute" style="position: absolute;overflow: scroll;height: 500px;width: 500px;right: 0;top: 2000px;background-color: #eee;">
+
+<div style="height: 1000px; background-color: #ccc;"> </div><br/>
+
+<input type="date" class="date" min="2016-01-01" max="2016-12-31" style="background-color: green" />
+</div>
+
<script type="text/javascript" src="datepicker.js"></script>
</body>