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

Unified Diff: LayoutTests/fast/css/disabled-author-styles.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 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/css/disabled-author-styles.html
diff --git a/LayoutTests/fast/css/disabled-author-styles.html b/LayoutTests/fast/css/disabled-author-styles.html
deleted file mode 100644
index 8b2a4fe286c7c53de9250eaedd870bdf8d335498..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/disabled-author-styles.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
- <script>
- function loaded()
- {
- if (!window.testRunner) {
- alert("This test must be run in the DumpRenderTree to work.");
- return;
- }
- testRunner.waitUntilDone();
- testRunner.setAuthorAndUserStylesEnabled(false);
-
- // Check the matched rules after a timeout to give time for WebPreferences to update WebCore::Settings.
- setTimeout(checkMatchedRules, 0);
- }
-
- function checkMatchedRules()
- {
- var matchedRules = getMatchedCSSRules(document.getElementById("test"), "");
- if (matchedRules && matchedRules.length)
- alert(matchedRules.length + " rule(s) were returned from getMatchedCSSRules, expected zero.");
-
- if (window.testRunner) {
- testRunner.notifyDone();
- }
- }
- </script>
- <style>
- #test {
- color: red;
- }
-
- #test2::before {
- color: red;
- content: "This pseudo-element text should not show up.";
- }
- </style>
-</head>
-<body onload="loaded();">
- <div id="test">This text should be black, not red.</div>
- <div id="test2"></div>
-</body>
-</html>
« no previous file with comments | « LayoutTests/editing/selection/fake-doubleclick-expected.txt ('k') | LayoutTests/fast/css/disabled-author-styles-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698