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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-nested-style.html

Issue 1591613002: Move tests about 'New SELECT Popup' to fast/forms/select-popup, and disable them on OSX and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-nested-style.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-nested-style.html b/third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-nested-style.html
deleted file mode 100644
index e5e13d8b7d6d9cb0ead031c8125e03f3a5d5f3e0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select/popup-menu-nested-style.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script src="../resources/common.js"></script>
-<script src="../resources/picker-common.js"></script>
-</head>
-<body>
-<select id="menu" style="background-color:white; color:black;">
- <option>foo</option>
- <optgroup label="Group" style="background-color:black; color:white;">
- <option style="background-color:white; color:black;">bar</option>
- </optgroup>
- <optgroup label="Group2" style="display:none;">
- <option>baz</option>
- </optgroup>
-</select>
-<script>
-description('Check if an OPTION style is serialized with comparison with the parent OPTGROUP style.');
-var menuElement = document.getElementById('menu');
-var params = null;
-
-function openPickerErrorCallback() {
- testFailed('picker didn\'t open')
- finishJSTest();
-}
-openPicker(menu, test1, openPickerErrorCallback);
-function test1() {
- params = window.internals.pagePopupWindow.global.params;
- shouldBeEqualToString('params.children[1].type', 'optgroup');
- shouldBeUndefined('params.children[1].children[0].type');
- shouldBeEqualToString('params.children[1].children[0].style.color', '#000000');
- shouldBeEqualToString('params.children[1].children[0].style.backgroundColor', '#ffffff');
-
- finishJSTest();
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698