<!--
    @license
    Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
    This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
    The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
    The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
    Code distributed by Google as part of the polymer project is also
    subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<!doctype html>
<html>
  <head>
    <title>core-range</title>
    
    <script src="../platform/platform.js"></script>
    
    <link rel="import" href="core-range.html">
    <link rel="import" href="../core-input/core-input.html">
    
    <style>
    
      
    </style>
    
  </head>
  
  <body unresolved>
    
    <polymer-element name="x-test" noscript attributes="value">
    
      <template>
      
        <style>
          
          :host {
            display: inline-block;
            height: 25px;
            width: 300px;
            background-color: #ddd;
          }
          
          .progress {
            background-color: red;
            height: 100%;
            padding: 5px 0;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
          }
          
          core-input {
            border: 1px solid #ccc;
          }
          
        </style>
        
        <core-range min="0" max="200" step="0.5" value="{{value}}" ratio="{{ratio}}"></core-range>
        
        <div class="progress" style="width: {{ratio}}%;">{{ratio}}%</div><br>
        
        value (0 - 200): <core-input value="{{value}}"></core-input>
      
      </template>
      
    </polymer-element>
    
    <x-test value="100"></x-test>
    
  </body>
</html>
