  </template>

    <script>

      HTMLImports.whenReady(function() {

        Polymer({
          is: 'x-grid'
        });

      });

    </script>
  </dom-module>


  <test-fixture id="trivialGrid">
    <template>
      <x-grid></x-grid>
    </template>
  </test-fixture>

  <script>

    function valueAsInt(obj) {
      var rtn = {top: 0, right: 0, bottom: 0, left: 0, width: 0};
      for (var k in obj) {
        if (rtn.hasOwnProperty(k)) {
          rtn[k] = Math.round(obj[k]);
        }
      }
      