Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / datalist / datalist-inside-shadow-dom.html
blobcb91e81713b09056375c24c9625dd74c4b5cd62e
1 <!DOCTYPE html>
3 <template>
4 <datalist id="lang">
5 <option value="D">German</option>
6 <option value="E">English</option>
7 </datalist>
8 <input list="lang" value="5">
9 </template>
11 <div>This test passes if datalist picker element is shown.</div>
12 <host></host>
14 <script>
15 var host = document.createElement('host');
16 host.createShadowRoot().appendChild(document.querySelector('template').content.cloneNode(true));
17 document.body.appendChild(host);
18 document.querySelector('host::shadow input').focus();
19 </script>