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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html
diff --git a/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html b/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html
new file mode 100644
index 0000000000000000000000000000000000000000..9a912e682fea6a3d4aecce5fa55e41bb7490b232
--- /dev/null
+++ b/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<template>
+ <input list="lang" value="5">
+ <datalist id="lang">
+ <option value="D">German</option>
+ <option value="E">English</option>
+ </datalist>
+</template>
+
keishi 2014/07/09 02:04:37 Could we have a description what this test is chec
+<host></host>
keishi 2014/07/09 02:04:37 This element doesn't seemed to be used in this fil
+
+<script>
+var host = document.createElement('host');
+host.createShadowRoot().appendChild(document.querySelector('template').content.cloneNode(true));
+document.body.appendChild(host);
+document.querySelector('host::shadow input').focus();
+</script>

Powered by Google App Engine
This is Rietveld 408576698