Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html

Issue 371413004: Fix for input/datalist failure when datalist is created outside document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using didNotifySubtreeInsertionsToDocument Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
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>
10
11 <div>This test passes if datalist picker element is shown.</div>
12 <host></host>
13
14 <script>
15 var host = document.createElement('host');
16 host.createShadowRoot().appendChild(document.querySelector('template').content.c loneNode(true));
17 document.body.appendChild(host);
18 document.querySelector('host::shadow input').focus();
19 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698