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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/computed-style-properties.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 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <style> 5 <style>
6 #test { 6 #test {
7 width: 400px; 7 width: 400px;
8 margin: 10px; 8 margin: 10px;
9 } 9 }
10 #test > div { 10 #test > div {
11 margin: 1ex; 11 margin: 1ex;
12 } 12 }
13 #outline { 13 #outline {
14 outline: 2px solid red; 14 outline: 2px solid red;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data :image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"'); 69 shouldBe("computedStyleFor('content', 'after', 'content')", '"\'test \' url(data :image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACwAAAAAAQABAAACAgQBADs=)"');
70 shouldBe("computedStyleFor('counter', null, 'counter-reset')", "'section 0'"); 70 shouldBe("computedStyleFor('counter', null, 'counter-reset')", "'section 0'");
71 var str = computedStyleFor('subcounter', null, 'counter-reset'); 71 var str = computedStyleFor('subcounter', null, 'counter-reset');
72 shouldBe("str.indexOf('subsection 0') != -1", "true"); 72 shouldBe("str.indexOf('subsection 0') != -1", "true");
73 shouldBe("str.indexOf('anothercounter 5') != -1", "true"); 73 shouldBe("str.indexOf('anothercounter 5') != -1", "true");
74 shouldBe("computedStyleFor('counter1', 'before', 'counter-increment')", "'sectio n 1'"); 74 shouldBe("computedStyleFor('counter1', 'before', 'counter-increment')", "'sectio n 1'");
75 shouldBe("computedStyleFor('subcounter2', 'before', 'counter-increment')", "'sub section 1'"); 75 shouldBe("computedStyleFor('subcounter2', 'before', 'counter-increment')", "'sub section 1'");
76 shouldBe("computedStyleFor('subcounter2', 'before', 'content')", '"counter(secti on) \'.\' counter(subsection) \'. \'"'); 76 shouldBe("computedStyleFor('subcounter2', 'before', 'content')", '"counter(secti on) \'.\' counter(subsection) \'. \'"');
77 </script> 77 </script>
78 </html> 78 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698