add HTML5 doctype to all tests
[dygraphs.git] / tests / border.html
CommitLineData
54425b14 1<!DOCTYPE html>
22c9069e
DV
2<html>
3 <head>
4 <title>gadget border</title>
5 <!--[if IE]>
a2b2c3a1 6 <script type="text/javascript" src="../excanvas.js"></script>
22c9069e 7 <![endif]-->
d37dca40
DV
8 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
9 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda 10 <script type="text/javascript" src="../dygraph-canvas.js"></script>
22c9069e
DV
11 <script type="text/javascript" src="../dygraph.js"></script>
12 <script type="text/javascript" src="data.js"></script>
13 <style type="text/css">
14 #bordered {
8846615a 15 border: 1px solid red;
22c9069e
DV
16 }
17 </style>
18 </head>
19 <body>
20 <p>Hopefully this stays in its border:</p>
21 <div id="bordered" style="width:600px; height:300px;"></div>
22 <script type="text/javascript">
8846615a
DV
23 new Dygraph(document.getElementById('bordered'), data,
24 {
25 labelsDivStyles: { border: '1px solid black' }
26 });
22c9069e
DV
27 </script>
28 </body>
29</html>