Files
polymer/test/unit/polymer-dom.html
Daniel Freedman 6cf974a4ed Add Polymer.DomApi.wrap
- Make sure nodes are wrapped under ShadowDOMPolyfill
- Forwards `window.wrap` when defined
- Remove weird forked `DomApi` definition
- Remove calls to `wrap` from gestures
- Add tests
2015-11-11 15:50:16 -08:00

64 lines
1.5 KiB
HTML

<!doctype html>
<!--
@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
-->
<html>
<head>
<meta charset="utf-8">
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<script src="../../../web-component-tester/browser.js"></script>
<link rel="import" href="../../polymer.html">
<link rel="import" href="polymer-dom-elements.html">
</head>
<body>
<x-test></x-test>
<div class="accessors">
<x-test-no-distribute><div class="child"></div></x-test-no-distribute>
<x-project><div class="child"></div></x-project>
</div>
<x-test-no-distribute id="noDistribute">
<div class="bar">Bar</div>
<div class="foo">Foo</div>
</x-test-no-distribute>
<x-select1>
<div class="select-child"></div>
</x-select1>
<x-select-class1>
<div></div>
</x-select-class1>
<x-select-attr>
<x-attr></x-attr>
</x-select-attr>
<x-compose-select-attr></x-compose-select-attr>
<x-redistribute-a-b></x-redistribute-a-b>
<div id="container">
<x-echo></x-echo>
<span>1</span>
<span>2</span>
</div>
<x-deep-contains></x-deep-contains>
<x-wrapped></x-wrapped>
<script src="polymer-dom.js"></script>
</body>
</html>