| OLD | NEW |
| 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 <style type="text/css"> | 4 <style type="text/css"> |
| 5 .box { | 5 .box { |
| 6 display: -webkit-flex; | 6 display: -webkit-flex; |
| 7 display: flex; | 7 display: flex; |
| 8 } | 8 } |
| 9 .horizontal { | 9 .horizontal { |
| 10 -webkit-flex-direction: row; | 10 -webkit-flex-direction: row; |
| 11 flex-direction: horizontal; | 11 flex-direction: horizontal; |
| 12 } | 12 } |
| 13 .vertical { | 13 .vertical { |
| 14 -webkit-flex-direction: column; | 14 -webkit-flex-direction: column; |
| 15 flex-direction: column; | 15 flex-direction: column; |
| 16 } | 16 } |
| 17 .box span { | 17 .box span { |
| 18 display: -webkit-flex; | 18 display: -webkit-flex; |
| 19 display: flex; | 19 display: flex; |
| 20 } | 20 } |
| 21 </style> | 21 </style> |
| 22 <script src="../../resources/js-test.js"></script> | 22 <script src="../../resources/testharness.js"></script> |
| 23 <script src="../../resources/testharnessreport.js"></script> |
| 23 </head> | 24 </head> |
| 24 <body> | 25 <body> |
| 25 <p id="description"></p> | 26 <p id="description">Check if box-orient is working in <button>. See https:
//bugs.webkit.org/show_bug.cgi?id=25406</p> |
| 27 <div id="log"></p> |
| 26 <div id="main"> | 28 <div id="main"> |
| 27 <p> | 29 <p> |
| 28 reference of horizontal button:<br> | 30 reference of horizontal button:<br> |
| 29 <button id="reference_horizontal"> | 31 <button id="reference_horizontal"> |
| 30 <span>hello</span> | 32 <span>hello</span> |
| 31 <span>world</span> | 33 <span>world</span> |
| 32 </button> | 34 </button> |
| 33 <p> | 35 <p> |
| 34 reference of vertical button:<br> | 36 reference of vertical button:<br> |
| 35 <button id="reference_vertical"> | 37 <button id="reference_vertical"> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 64 vertical => horizontal:<br> | 66 vertical => horizontal:<br> |
| 65 <button id="toHorizontal" class="box vertical"> | 67 <button id="toHorizontal" class="box vertical"> |
| 66 <span>hello</span> | 68 <span>hello</span> |
| 67 <span>world</span> | 69 <span>world</span> |
| 68 </button> | 70 </button> |
| 69 </div> | 71 </div> |
| 70 <div id="console"></div> | 72 <div id="console"></div> |
| 71 <script src="resources/box-orient-button.js"></script> | 73 <script src="resources/box-orient-button.js"></script> |
| 72 </body> | 74 </body> |
| 73 </html> | 75 </html> |
| OLD | NEW |