       display: block;
          border: 10px solid black;
        }
        :host(:dir(rtl)) {
          border: 2px dotted blue;
        }
      </style>
    </template>
    <script type="module">
import '../../polymer-legacy.js';
import '../../lib/mixins/dir-mixin.js';
import { Polymer } from '../../lib/legacy/polymer-fn.js';
Polymer({is: 'x-dir-legacy'});
</script>
  </dom-module>

  <test-fixture id="dir">
    <template>
      <x-dir></x-dir>
    </template>
  </test-fixture>

  <test-fixture id="prese