Chromium Code Reviews| Index: LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.html |
| diff --git a/LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.html b/LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9bd45c3a2b45b6aa220362f4cee05713faec1412 |
| --- /dev/null |
| +++ b/LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.html |
| @@ -0,0 +1,24 @@ |
| +<!doctype html> |
| +<html> |
| +<head> |
| +<style> |
| +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.
|
| + width: 400px; |
| + height: 50px; |
| +} |
| + |
| +.flex { |
| + display: flex; |
| +} |
| + |
| +.flex-center { |
| + justify-content: center; |
| +} |
| +</style> |
| +</head> |
| +<body> |
| +<h4>Test for BUG=344733: Centering text inside a button set to display flex and justify-content: center is impossible</h4> |
| +<button>text</button> |
| +<button class="flex flex-center">text with justify-content: center</button> |
| +</body> |
| +</html> |