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

Side by Side Diff: sky/tests/lowlevel/style-specificity.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
OLDNEW
1 <html> 1 <html>
2 <link rel="import" href="../resources/chai.sky" /> 2 <import src="../resources/chai.sky" />
3 <link rel="import" href="../resources/mocha.sky" /> 3 <import src="../resources/mocha.sky" />
4 <style> 4 <style>
5 #sandbox { color: red; } 5 #sandbox { color: red; }
6 .blue { color: blue; } 6 .blue { color: blue; }
7 </style> 7 </style>
8 <body> 8 <body>
9 <div id="sandbox" class="blue">This should be blue.</div> 9 <div id="sandbox" class="blue">This should be blue.</div>
10 <script> 10 <script>
11 describe('Specificity', function() { 11 describe('Specificity', function() {
12 it('should not exist', function() { 12 it('should not exist', function() {
13 var sandbox = document.getElementById("sandbox"); 13 var sandbox = document.getElementById("sandbox");
14 assert.equal(getComputedStyle(sandbox).color, "rgb(0, 0, 255)"); 14 assert.equal(getComputedStyle(sandbox).color, "rgb(0, 0, 255)");
15 }); 15 });
16 }); 16 });
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698