ple fit></paper-ripple>
    <span class="ripple-1-tap">tap here</span>
  </div>

  <div class="ripple-container ripple-2" layout horizontal center>
    <paper-ripple fit></paper-ripple>
    <span class="ripple-2-tap">tap here</span>
  </div>

  <script>
    var fake = new Fake();

    function centerOf(node) {
      var rect = node.getBoundingClientRect();
      return {x: rect.left + rect.width / 2, y: rect.top + rect.height / 2};
    }

    function approxEqual(p1, p2) {
      return Math.floor(p1.x) == M