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

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: 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 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..1fc6e4c28082c7eb5d4244f27d49b4daa74cf9d4
--- /dev/null
+++ b/LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom-expected.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<div>This test passes if datalist picker element is shown.</div>
+<datalist id="lang">
+ <option value="D">German</option>
+ <option value="E">English</option>
+</datalist>
+<input list="lang" value="5">
+
+<script>
+document.querySelector('input').focus();
+</script>
« no previous file with comments | « LayoutTests/fast/forms/datalist/datalist-inside-shadow-dom.html ('k') | Source/core/html/HTMLInputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698