fast/forms/button-set-display-flex-justifyContent-center.html is failing on macOS...
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jun 2018 19:13:19 +0000 (19:13 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jun 2018 19:13:19 +0000 (19:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186776
<rdar://problem/41104962>

Fix a failing layout test by making the reference markup robust for changes to system button text color. This
system color is different in macOS Mojave, which causes this layout test to fail.

Reviewed by Beth Dakin.

* fast/forms/button-set-display-flex-justifyContent-center-expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232940 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/forms/button-set-display-flex-justifyContent-center-expected.html

index 13416ca..97f64fc 100644 (file)
@@ -1,3 +1,16 @@
+2018-06-18  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        fast/forms/button-set-display-flex-justifyContent-center.html is failing on macOS Mojave
+        https://bugs.webkit.org/show_bug.cgi?id=186776
+        <rdar://problem/41104962>
+
+        Fix a failing layout test by making the reference markup robust for changes to system button text color. This
+        system color is different in macOS Mojave, which causes this layout test to fail.
+
+        Reviewed by Beth Dakin.
+
+        * fast/forms/button-set-display-flex-justifyContent-center-expected.html:
+
 2018-06-18  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Unreviewed GTK test gardening
index ec7e9b5..2296280 100644 (file)
@@ -6,6 +6,7 @@ div {
     width: 300px;
     display: flex;
     justify-content: center;
+    color: buttontext;
 }
 </style>
 <h4>Test for centering text inside a button set to display flex and justify-content: center is impossible</h4>