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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 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/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html
deleted file mode 100644
index fd22bfa9f34bad67fad140fda91b606b16bba76f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<style>
-button {
- color: green;
-}
-
-button:disabled {
- color: red;
-}
-
-.trigger-style-recalc {
- /* No change, we just need a new style recalculation. */
-}
-</style>
-</head>
-<body style="color: green">
-<button>The test passes if this is in green.</button>
-<dialog></dialog>
-<script>
-description('Tests that inert elements do not match the :disabled selector.');
-document.querySelector('dialog').showModal();
-button = document.querySelector('button');
-button.classList.add('trigger-style-recalc');
-color = document.defaultView.getComputedStyle(button).getPropertyValue('color');
-shouldBe('color', "'rgb(0, 128, 0)'");
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698