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

Side by Side Diff: LayoutTests/fast/css/variables/cssom-computed-style.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 <head><script src="../../js/resources/js-test-pre.js"></script></head> 2 <head><script src="../../../resources/js-test.js"></script></head>
3 3
4 <style> 4 <style>
5 #test-target { 5 #test-target {
6 var-stylesheet: pass; 6 var-stylesheet: pass;
7 } 7 }
8 </style> 8 </style>
9 9
10 <body> 10 <body>
11 <div style="var-inherited: pass"><div id="test-target" style="var-inline: pass"> </div></div> 11 <div style="var-inherited: pass"><div id="test-target" style="var-inline: pass"> </div></div>
12 </body> 12 </body>
(...skipping 28 matching lines...) Expand all
41 computedBodyStyle.var.forEach(function(value, name, map) { 41 computedBodyStyle.var.forEach(function(value, name, map) {
42 emptyVarForEachIterations.push([value, name, map.toString()]); 42 emptyVarForEachIterations.push([value, name, map.toString()]);
43 }); 43 });
44 shouldBe('emptyVarForEachIterations.length', '0'); 44 shouldBe('emptyVarForEachIterations.length', '0');
45 45
46 shouldThrow('computedStyle.var.set("inline", "fail")', '"NoModificationAllowedEr ror: Failed to set the \'inline\' property on a computed \'CSSStyleDeclaration\' : computed styles are read-only."'); 46 shouldThrow('computedStyle.var.set("inline", "fail")', '"NoModificationAllowedEr ror: Failed to set the \'inline\' property on a computed \'CSSStyleDeclaration\' : computed styles are read-only."');
47 shouldThrow('computedStyle.var.clear()', '"NoModificationAllowedError: Failed to clear variables from a computed \'CSSStyleDeclaration\': computed styles are re ad-only."'); 47 shouldThrow('computedStyle.var.clear()', '"NoModificationAllowedError: Failed to clear variables from a computed \'CSSStyleDeclaration\': computed styles are re ad-only."');
48 shouldBe('computedStyle.var.delete("inline")', 'false'); 48 shouldBe('computedStyle.var.delete("inline")', 'false');
49 shouldBeEqualToString('computedStyle.var.get("inline")', 'pass'); 49 shouldBeEqualToString('computedStyle.var.get("inline")', 'pass');
50 </script> 50 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/url-with-multi-byte-unicode-escape.html ('k') | LayoutTests/fast/css/variables/cssom-foreach.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698