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

Side by Side Diff: LayoutTests/css3/flexbox/flex-flow-initial.html

Issue 48903019: Delete js-test-post.js. (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 <style> 2 <style>
3 #test1 { 3 #test1 {
4 -webkit-flex-flow: column; 4 -webkit-flex-flow: column;
5 } 5 }
6 #test1 { 6 #test1 {
7 -webkit-flex-flow: initial; 7 -webkit-flex-flow: initial;
8 } 8 }
9 #test2 { 9 #test2 {
10 -webkit-flex-direction: column; 10 -webkit-flex-direction: column;
11 } 11 }
12 #test2 { 12 #test2 {
13 -webkit-flex-direction: initial; 13 -webkit-flex-direction: initial;
14 } 14 }
15 </style> 15 </style>
16 <span id="test1"></span> 16 <span id="test1"></span>
17 <span id="test2"></span> 17 <span id="test2"></span>
18 <script src="../../fast/js/resources/js-test-pre.js"></script> 18 <script src="../../fast/js/resources/js-test-pre.js"></script>
19 <script> 19 <script>
20 description("Tests that 'initial' is handled correctly for the -webkit-flex-flow shorthand."); 20 description("Tests that 'initial' is handled correctly for the -webkit-flex-flow shorthand.");
21 value1 = window.getComputedStyle(test1).webkitFlexDirection; 21 value1 = window.getComputedStyle(test1).webkitFlexDirection;
22 value2 = window.getComputedStyle(test2).webkitFlexDirection; 22 value2 = window.getComputedStyle(test2).webkitFlexDirection;
23 shouldBeEqualToString('window.getComputedStyle(test1).webkitFlexDirection', 'row '); 23 shouldBeEqualToString('window.getComputedStyle(test1).webkitFlexDirection', 'row ');
24 shouldBeEqualToString('window.getComputedStyle(test2).webkitFlexDirection', 'row '); 24 shouldBeEqualToString('window.getComputedStyle(test2).webkitFlexDirection', 'row ');
25 if (window.testRunner) 25 if (window.testRunner)
26 testRunner.dumpAsText(); 26 testRunner.dumpAsText();
27 </script> 27 </script>
28 <script src="../../fast/js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/flexbox/flex-align-baseline.html ('k') | LayoutTests/css3/flexbox/flex-longhand-parsing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698