than or equal to viewport height');
        });

        test('scrolling element with offscreen container is constrained to viewport height', function() {
          var container = fixture('offscreen-container');
          var el = Polymer.dom(container).querySelector('.el')
          makeScrolling(el);
          el.refit();
          var rect = el.getBoundingClientRect();
          assert.isTrue(rect.height <= window.innerHeight, 'height is less than or equal to viewport height');
        });

        test