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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/button-set-display-flex.html
diff --git a/LayoutTests/fast/forms/button-set-display-flex.html b/LayoutTests/fast/forms/button-set-display-flex.html
new file mode 100644
index 0000000000000000000000000000000000000000..12401fbe96a5c6757d9d91f10bf5aecb26e7a8a5
--- /dev/null
+++ b/LayoutTests/fast/forms/button-set-display-flex.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+<head>
+<style>
+button {
+ width: 200px;
+ height: 50px;
+}
+
+.flex {
+ display: flex;
+}
+
+.flex-center {
+ justify-content: center;
+}
+</style>
+</head>
+<body>
+<button>text</button>
+<button class="flex">text</button>
+<button class="flex flex-center">text</button>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698