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

Side by Side Diff: LayoutTests/css3/flexbox/css-properties.html

Issue 433153003: [CSS Grid Layout] Don't resolve align-self and justify-self properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied suggested comments. Created 6 years, 3 months 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/css-properties-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="flexbox"> 7 <div id="flexbox">
8 <div id="flexitem"></div> 8 <div id="flexitem"></div>
9 </div> 9 </div>
10 <script> 10 <script>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 shouldBeEqualToString('flexbox.style.webkitJustifyContent', 'space-between'); 75 shouldBeEqualToString('flexbox.style.webkitJustifyContent', 'space-between');
76 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte nt', 'space-between'); 76 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte nt', 'space-between');
77 77
78 flexbox.style.webkitJustifyContent = ''; 78 flexbox.style.webkitJustifyContent = '';
79 shouldBeEqualToString('flexbox.style.webkitJustifyContent', ''); 79 shouldBeEqualToString('flexbox.style.webkitJustifyContent', '');
80 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte nt', 'flex-start'); 80 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitJustifyConte nt', 'flex-start');
81 81
82 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); 82 shouldBeEqualToString('flexbox.style.webkitAlignSelf', '');
83 // The initial value is 'auto', which will be resolved depending on parent's sty le (except for the 'document' element). 83 // The initial value is 'auto', which will be resolved depending on parent's sty le (except for the 'document' element).
84 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start '); 84 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start ');
85 shouldBeEqualToString('window.getComputedStyle(document.documentElement, null).a lignSelf', 'start'); 85 shouldBeEqualToString('window.getComputedStyle(document.documentElement, null).a lignSelf', 'auto');
86 86
87 flexbox.style.webkitAlignSelf = 'foo'; 87 flexbox.style.webkitAlignSelf = 'foo';
88 shouldBeEqualToString('flexbox.style.webkitAlignSelf', ''); 88 shouldBeEqualToString('flexbox.style.webkitAlignSelf', '');
89 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start '); 89 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start ');
90 90
91 flexbox.style.webkitAlignSelf = 'auto'; 91 flexbox.style.webkitAlignSelf = 'auto';
92 shouldBeEqualToString('flexbox.style.webkitAlignSelf', 'auto'); 92 shouldBeEqualToString('flexbox.style.webkitAlignSelf', 'auto');
93 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start '); 93 shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignSelf', 'start ');
94 94
95 flexbox.style.webkitAlignSelf = 'flex-start'; 95 flexbox.style.webkitAlignSelf = 'flex-start';
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 flexbox.style.webkitAlignContent = ''; 307 flexbox.style.webkitAlignContent = '';
308 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); 308 shouldBeEqualToString('flexbox.style.webkitAlignContent', '');
309 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent ', 'stretch'); 309 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent ', 'stretch');
310 310
311 flexbox.style.webkitAlignContent = 'foo'; 311 flexbox.style.webkitAlignContent = 'foo';
312 shouldBeEqualToString('flexbox.style.webkitAlignContent', ''); 312 shouldBeEqualToString('flexbox.style.webkitAlignContent', '');
313 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent ', 'stretch'); 313 shouldBeEqualToString('window.getComputedStyle(flexbox, null).webkitAlignContent ', 'stretch');
314 </script> 314 </script>
315 </body> 315 </body>
316 </html> 316 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/css-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698