| border: 5px solid lightgreen; |
| -webkit-writing-mode: horizontal-tb; |
| -webkit-writing-mode: horizontal-bt; |
| -webkit-writing-mode: vertical-rl; |
| -webkit-writing-mode: vertical-lr; |
| -webkit-flex-direction: row; |
| -webkit-flex-direction: row-reverse; |
| -webkit-flex-direction: column; |
| -webkit-flex-direction: column-reverse; |
| background: -webkit-radial-gradient(center, ellipse cover, rgba(30,87,153,1) 0%,rgba(89,148,202,1) 62%,rgba(95,154,207,0.7) 68%,rgba(125,185,232,0) 100%); |
| <p>Scrollbars should work in all the flexboxes.</p> |
| var writingModes = ['horizontal-tb', 'horizontal-bt', 'vertical-rl', 'vertical-lr']; |
| var flexDirections = ['row', 'column', 'row-reverse', 'column-reverse']; |
| writingModes.forEach(function(writingMode) { |
| testContents += "<div class='test-row'>"; |
| flexDirections.forEach(function(flexDirection) { |
| var containerClass = 'container ' + writingMode; |
| var flexboxClass = 'flexbox ' + flexDirection; |
| "<div class='" + containerClass + "'>" + |
| "<div class='" + flexboxClass + "'>" + |
| testContents += "</div>"; |
| document.body.innerHTML += testContents; |