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

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

Issue 1088633002: Unprefix flexbox tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whoops, a > went missing Created 5 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 .container { 4 .container {
5 position: relative; 5 position: relative;
6 background-color: pink; 6 background-color: pink;
7 outline: 1px solid black; 7 outline: 1px solid black;
8 display: inline-block; 8 display: inline-block;
9 } 9 }
10 .flexbox { 10 .flexbox {
11 display: -webkit-flex; 11 display: flex;
12 background-color: grey; 12 background-color: grey;
13 width: 100px; 13 width: 100px;
14 height: 100px; 14 height: 100px;
15 } 15 }
16 .title { 16 .title {
17 margin-top: 1em; 17 margin-top: 1em;
18 } 18 }
19 .ltr { 19 .ltr {
20 direction: ltr; 20 direction: ltr;
21 } 21 }
22 .rtl { 22 .rtl {
23 direction: rtl; 23 direction: rtl;
24 } 24 }
25 .horizontal-tb { 25 .horizontal-tb {
26 -webkit-writing-mode: horizontal-tb; 26 -webkit-writing-mode: horizontal-tb;
27 } 27 }
28 .horizontal-bt { 28 .horizontal-bt {
29 -webkit-writing-mode: horizontal-bt; 29 -webkit-writing-mode: horizontal-bt;
30 } 30 }
31 .vertical-rl { 31 .vertical-rl {
32 -webkit-writing-mode: vertical-rl; 32 -webkit-writing-mode: vertical-rl;
33 } 33 }
34 .vertical-lr { 34 .vertical-lr {
35 -webkit-writing-mode: vertical-lr; 35 -webkit-writing-mode: vertical-lr;
36 } 36 }
37 .row { 37 .row {
38 -webkit-flex-flow: row; 38 flex-flow: row;
39 } 39 }
40 .row-reverse { 40 .row-reverse {
41 -webkit-flex-flow: row-reverse; 41 flex-flow: row-reverse;
42 } 42 }
43 .column { 43 .column {
44 -webkit-flex-flow: column; 44 flex-flow: column;
45 } 45 }
46 .column-reverse { 46 .column-reverse {
47 -webkit-flex-flow: column-reverse; 47 flex-flow: column-reverse;
48 } 48 }
49 .physical { 49 .physical {
50 margin: 10px 20px 30px 40px; 50 margin: 10px 20px 30px 40px;
51 } 51 }
52 .physical > div { 52 .physical > div {
53 margin: 13px 2px 17px 8px; 53 margin: 13px 2px 17px 8px;
54 } 54 }
55 .logical { 55 .logical {
56 -webkit-margin-before: 10px; 56 -webkit-margin-before: 10px;
57 -webkit-margin-after: 30px; 57 -webkit-margin-after: 30px;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 var flexboxExpectations = positionAsString(expectations.flexbox) ; 229 var flexboxExpectations = positionAsString(expectations.flexbox) ;
230 230
231 var flexItemExpectations = asString(expectations[flexFlow.replac e("-reverse", "")]); 231 var flexItemExpectations = asString(expectations[flexFlow.replac e("-reverse", "")]);
232 232
233 var container = document.createElement('div'); 233 var container = document.createElement('div');
234 container.className = 'container'; 234 container.className = 'container';
235 container.setAttribute('data-expected-width', expectations.conta iner[0]); 235 container.setAttribute('data-expected-width', expectations.conta iner[0]);
236 container.setAttribute('data-expected-height', expectations.cont ainer[1]); 236 container.setAttribute('data-expected-height', expectations.cont ainer[1]);
237 237
238 container.innerHTML = '<div class="flexbox ' + flexboxClassName + '" ' + flexboxExpectations + '>\n' + 238 container.innerHTML = '<div class="flexbox ' + flexboxClassName + '" ' + flexboxExpectations + '>\n' +
239 '<div style="-webkit-flex: 1 auto; height: 20px; width: 20px ;" ' + flexItemExpectations + '></div>\n' + 239 '<div style="flex: 1 auto; height: 20px; width: 20px;" ' + f lexItemExpectations + '></div>\n' +
240 '</div>'; 240 '</div>';
241 241
242 document.body.appendChild(container); 242 document.body.appendChild(container);
243 }) 243 })
244 }) 244 })
245 }) 245 })
246 }) 246 })
247 </script> 247 </script>
248 </body> 248 </body>
249 </html> 249 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/flexbox/flex-flow-initial-expected.txt ('k') | LayoutTests/css3/flexbox/flex-flow-margins-auto-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698