diff options
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht')
-rw-r--r-- | tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht index fea5fd770d9..872a6d8c270 100644 --- a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flex-direction-modify.xht @@ -19,16 +19,16 @@ line-height: 50px; text-align: center; } - - + + .flex-container.flex-direction-row{ flex-direction : row; } - + .flex-container.flex-direction-row-reverse{ flex-direction : row-reverse; } - + .flex-container.flex-direction-column{ flex-direction : column; } @@ -40,7 +40,7 @@ <body> <h1>flex-direction:<span id="current_direction">row</span></h1> <div class="flex-container" id="flex_container"><div class="flex-item">1</div><div class="flex-item">2</div><div class="flex-item">3</div></div> - + <script> var container = document.getElementById("flex_container"); var direction_text = document.getElementById("current_direction"); @@ -50,11 +50,11 @@ container.className = baseClass + classPrefix + direction; notify( direction ); } - + function notify( direction ){ direction_text.innerHTML = direction; } - + change_direction("row"); change_direction("row-reverse"); change_direction("column"); @@ -62,4 +62,5 @@ change_direction("row"); </script> + </body></html>
\ No newline at end of file |