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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed-while-cloning-objects.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Security-Policy" content="style-src 'self';"> 4 <meta http-equiv="Content-Security-Policy" content="style-src 'self';">
5 <script src="/js-test-resources/js-test-pre.js"></script> 5 <script src="/js-test-resources/js-test.js"></script>
6 <script> 6 <script>
7 window.onload = function () { 7 window.onload = function () {
8 debug("This test ensures that styles can be set by object.cloneNode( )"); 8 debug("This test ensures that styles can be set by object.cloneNode( )");
9 9
10 window.nodes = document.getElementById('nodes'); 10 window.nodes = document.getElementById('nodes');
11 window.node1 = document.getElementById('node1'); 11 window.node1 = document.getElementById('node1');
12 window.node1.style.background = "yellow"; 12 window.node1.style.background = "yellow";
13 window.node1.style.color = "red"; 13 window.node1.style.color = "red";
14 window.node2 = document.getElementById('node1').cloneNode(true); 14 window.node2 = document.getElementById('node1').cloneNode(true);
15 window.node2.id = "node2"; 15 window.node2.id = "node2";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 <div id="ops" style="background: rgb(238, 130, 238)"> 77 <div id="ops" style="background: rgb(238, 130, 238)">
78 Yet another div. 78 Yet another div.
79 </div> 79 </div>
80 80
81 <div id="violetOps"> 81 <div id="violetOps">
82 Yet another div. 82 Yet another div.
83 </div> 83 </div>
84 84
85 </body> 85 </body>
86 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698