Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: LayoutTests/fast/forms/button-set-display-flex.html

Issue 278603002: Centering text inside a button set to display flex with justify-content: center is impossible (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixup for Mac Layout tests Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 button {
6 width: 200px;
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 <button>text</button>
21 <button class="flex">text</button>
22 <button class="flex flex-center">text</button>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698