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

Unified Diff: LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.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: Addressing comments for LayoutTests and fix for layouttest that get failed 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-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..4bd6338208858f1eda5dc74d4332ea35f20c2fdf
--- /dev/null
+++ b/LayoutTests/fast/forms/button-set-display-flex-justifyContent-center.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+button {
+ border: 0;
+ padding: 0;
+ background-color: white;
+ font-family: sans-serif;
+ font-size: initial;
+ width: 300px;
+ display: flex;
+ justify-content: center;
+}
+</style>
+<h4>Test for crbug.com/344733: Centering text inside a button set to display flex and justify-content: center is impossible</h4>
+<button>text with justify-content: center</button>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/button-set-display-flex-justifyContent-center-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698