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

Side by Side 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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function loaded()
5 {
6 if (!window.testRunner) {
7 alert("This test must be run in the DumpRenderTree to work.");
8 return;
9 }
10 testRunner.waitUntilDone();
11 testRunner.setAuthorAndUserStylesEnabled(false);
12
13 // Check the matched rules after a timeout to give time for WebPrefe rences to update WebCore::Settings.
14 setTimeout(checkMatchedRules, 0);
15 }
16
17 function checkMatchedRules()
18 {
19 var matchedRules = getMatchedCSSRules(document.getElementById("test" ), "");
20 if (matchedRules && matchedRules.length)
21 alert(matchedRules.length + " rule(s) were returned from getMatc hedCSSRules, expected zero.");
22
23 if (window.testRunner) {
24 testRunner.notifyDone();
25 }
26 }
27 </script>
28 <style>
29 #test {
30 color: red;
31 }
32
33 #test2::before {
34 color: red;
35 content: "This pseudo-element text should not show up.";
36 }
37 </style>
38 </head>
39 <body onload="loaded();">
40 <div id="test">This text should be black, not red.</div>
41 <div id="test2"></div>
42 </body>
43 </html>
OLDNEW
« 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