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

Side by Side Diff: LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix WebFrameCSSCallbackTest tests 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 5
6 <script> 6 <script>
7 7
8 function injectStyleSheet() 8 function injectStyleSheet()
9 { 9 {
10 var styleSheet = "#container { margin: 8px }"; 10 var styleSheet = "#container { margin: 8px }";
11 if (window.testRunner) 11 if (window.testRunner)
12 window.testRunner.addUserStyleSheet(styleSheet, true); 12 window.testRunner.injectStyleSheet(styleSheet, true);
13 } 13 }
14 14
15 function test() 15 function test()
16 { 16 {
17 InspectorTest.evaluateInPage("injectStyleSheet()", step1); 17 InspectorTest.evaluateInPage("injectStyleSheet()", step1);
18 function step1() 18 function step1()
19 { 19 {
20 InspectorTest.selectNodeAndWaitForStyles("container", step2); 20 InspectorTest.selectNodeAndWaitForStyles("container", step2);
21 } 21 }
22 22
(...skipping 25 matching lines...) Expand all
48 48
49 <body onload="runTest()" id="body-id"> 49 <body onload="runTest()" id="body-id">
50 <p> 50 <p>
51 Tests that disabling shorthand removes the "overriden" mark from the UA shorthan d it overrides. 51 Tests that disabling shorthand removes the "overriden" mark from the UA shorthan d it overrides.
52 </p> 52 </p>
53 53
54 <div id="container" style="margin: 10px"></div> 54 <div id="container" style="margin: 10px"></div>
55 55
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/styles/inject-stylesheet.html ('k') | LayoutTests/printing/page-rule-selection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698