| <!DOCTYPE html> |
| <html> |
| <!-- |
| Copyright 2008 The Closure Library Authors. All Rights Reserved. |
| |
| Use of this source code is governed by the Apache License, Version 2.0. |
| See the COPYING file for details. |
| --> |
| <!-- |
| --> |
| <head> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| <title> |
| Closure Unit Tests - goog.ui.SliderBase |
| </title> |
| <script src="../base.js"> |
| </script> |
| <script type="text/javascript"> |
| goog.require('goog.ui.SliderBaseTest'); |
| </script> |
| <style type="text/css"> |
| #oneThumbSlider { |
| position: relative; |
| width: 1000px; |
| background: grey; |
| height: 20px; |
| } |
| |
| #oneThumbSlider.test-slider-vertical { |
| height: 1000px; |
| width: 20px; |
| } |
| |
| #twoThumbSlider { |
| position: relative; |
| /* Extra 20px is so distance between thumb centers is 1000px */ |
| width: 1020px; |
| } |
| |
| #valueThumb, #extentThumb { |
| position: absolute; |
| width: 20px; |
| } |
| |
| #thumb { |
| position: absolute; |
| width: 20px; |
| height: 20px; |
| background: black; |
| top: 5px; |
| } |
| |
| .test-slider-vertical > #thumb { |
| left: 5px; |
| top: auto; |
| } |
| |
| #rangeHighlight { |
| position: absolute; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="sandbox"> |
| </div> |
| </body> |
| </html> |