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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html b/third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
deleted file mode 100644
index b26f90d3f189fc72bc2f5ece276172128584bbc3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test.js"></script>
-<select size="2">
- <option>PASS</option>FAIL
-</select>
-<script>
-description('Check that a select control does not render children that are not &lt;option&gt; or &lt;optgroup&gt;.');
-
-var select = document.querySelector('select');
-
-var div = select.appendChild(document.createElement('div'));
-div.innerText = 'FAIL';
-div.style.background = 'red';
-
-// innerText uses the render tree, and the "FAIL" text (from either the initial
-// HTML or the dynamially inserted <div>) should not be in the render tree, thus
-// not appear.
-shouldBeEqualToString('select.innerText', '');
-</script>

Powered by Google App Engine
This is Rietveld 408576698