OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 button { | |
cbiesinger
2014/05/21 00:18:10
I think you could make this a reftest, if you styl
harpreet.sk
2014/05/21 06:39:58
Done.
| |
6 width: 400px; | |
7 height: 50px; | |
8 } | |
9 | |
10 .flex { | |
11 display: flex; | |
12 } | |
13 | |
14 .flex-center { | |
15 justify-content: center; | |
16 } | |
17 </style> | |
18 </head> | |
19 <body> | |
20 <h4>Test for BUG=344733: Centering text inside a button set to display flex and justify-content: center is impossible</h4> | |
21 <button>text</button> | |
22 <button class="flex flex-center">text with justify-content: center</button> | |
23 </body> | |
24 </html> | |
OLD | NEW |