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

Unified Diff: LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.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-expected.html
diff --git a/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html b/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..8fe28c2b86194a7572bce518c2f9165574379575
--- /dev/null
+++ b/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<template>
+ <input list="lang" value="5">
+ <datalist id="lang">
keishi 2014/07/15 06:12:13 Extra tab. You can move the datalist before the in
deepak.sa 2014/07/16 14:47:36 If input is put after datalist, it doesn't work pr
+ <option value="D">German</option>
+ <option value="E">English</option>
+ </datalist>
+</template>
+
+<host></host>
+
+<script>
+var host = document.querySelector('host')
+host.appendChild(document.querySelector('template').content.cloneNode(true));
+document.querySelector('input').focus();
+</script>

Powered by Google App Engine
This is Rietveld 408576698