RESOLVED FIXED 189178
Expose -apple-system-container-border color to internal web views
https://bugs.webkit.org/show_bug.cgi?id=189178
Summary Expose -apple-system-container-border color to internal web views
James Savage
Reported 2018-08-30 17:40:41 PDT
Attachments
Patch (7.11 KB, patch)
2018-08-30 17:48 PDT, James Savage
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.41 MB, application/zip)
2018-08-30 18:50 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews116 for mac-sierra (3.02 MB, application/zip)
2018-08-30 19:41 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-sierra-wk2 (2.93 MB, application/zip)
2018-08-30 20:18 PDT, EWS Watchlist
no flags
Patch (6.04 KB, patch)
2018-09-05 23:45 PDT, James Savage
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.29 MB, application/zip)
2018-09-06 00:59 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.90 MB, application/zip)
2018-09-06 01:13 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews116 for mac-sierra (3.68 MB, application/zip)
2018-09-06 12:42 PDT, EWS Watchlist
no flags
Patch for EWS (8.46 KB, patch)
2018-09-07 17:59 PDT, James Savage
no flags
Archive of layout-test-results from ews102 for mac-sierra (2.49 MB, application/zip)
2018-09-07 19:04 PDT, EWS Watchlist
no flags
Patch (8.45 KB, patch)
2018-09-07 19:37 PDT, James Savage
no flags
Follow up changes for High Sierra (3.56 KB, patch)
2018-09-10 18:00 PDT, James Savage
timothy: review+
commit-queue: commit-queue-
Follow up changes for High Sierra (3.54 KB, patch)
2018-09-11 15:15 PDT, James Savage
no flags
James Savage
Comment 1 2018-08-30 17:48:44 PDT
EWS Watchlist
Comment 2 2018-08-30 18:50:33 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 3 2018-08-30 18:50:35 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 4 2018-08-30 19:41:18 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 5 2018-08-30 19:41:20 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 6 2018-08-30 20:18:40 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 7 2018-08-30 20:18:42 PDT Comment hidden (obsolete)
Radar WebKit Bug Importer
Comment 8 2018-08-31 08:56:28 PDT
Timothy Hatcher
Comment 9 2018-08-31 12:50:11 PDT
Comment on attachment 348575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=348575&action=review > Source/WebCore/rendering/RenderThemeMac.mm:680 > + case CSSValueAppleSystemContainerBorder: > +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 > + return systemAppearanceColor(cache.systemContainerBorderColor, @selector(containerBorderColor)); > +#else > + return 0xFFC5C5C5; > +#endif You only need to handle it here and use the special cache.systemContainerBorderColor if this color is different based on accent color. I don't think it is, so yo can simplify this patch by handling it with the other system colors further down in this file.
James Savage
Comment 10 2018-09-05 23:45:45 PDT
EWS Watchlist
Comment 11 2018-09-06 00:59:09 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 12 2018-09-06 00:59:11 PDT Comment hidden (obsolete)
James Savage
Comment 13 2018-09-06 01:04:21 PDT
Okay I give up. Which expectation file do I need to edit for EWS to see the right results? The tests passed when I ran them locally.
EWS Watchlist
Comment 14 2018-09-06 01:13:50 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 15 2018-09-06 01:13:52 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 16 2018-09-06 12:41:58 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 17 2018-09-06 12:42:00 PDT Comment hidden (obsolete)
Timothy Hatcher
Comment 18 2018-09-06 16:49:45 PDT
Comment on attachment 349003 [details] Patch You need to commit platform specific results to make the tests happy.
James Savage
Comment 19 2018-09-07 15:09:00 PDT
(In reply to Timothy Hatcher from comment #18) > Comment on attachment 349003 [details] > Patch > > You need to commit platform specific results to make the tests happy. Do you know specifically which file. I’m assuming its LayoutTests/platform/mac/fast/css/apple-system-colors-expected.txt, but I was basing this off your change in <https://trac.webkit.org/changeset/232847/webkit/> which only touched LayoutTests/fast/css/apple-system-control-colors-expected.txt.
James Savage
Comment 20 2018-09-07 17:59:42 PDT
Created attachment 349222 [details] Patch for EWS
EWS Watchlist
Comment 21 2018-09-07 19:04:18 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 22 2018-09-07 19:04:20 PDT Comment hidden (obsolete)
James Savage
Comment 23 2018-09-07 19:37:31 PDT
WebKit Commit Bot
Comment 24 2018-09-10 15:16:44 PDT
Comment on attachment 349232 [details] Patch Clearing flags on attachment: 349232 Committed r235866: <https://trac.webkit.org/changeset/235866>
WebKit Commit Bot
Comment 25 2018-09-10 15:16:46 PDT
All reviewed patches have been landed. Closing bug.
Truitt Savell
Comment 26 2018-09-10 16:34:43 PDT
Looks like https://trac.webkit.org/changeset/235866/webkit Has caused fast/css/apple-system-control-colors.html to fail on High Sierra currently. Test History: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fcss%2Fapple-system-control-colors.html Diff: --- /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/fast/css/apple-system-control-colors-expected.txt +++ /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/fast/css/apple-system-control-colors-actual.txt @@ -19,5 +19,5 @@ -apple-system-quaternary-label : rgba(0, 0, 0, 0.0980392) -apple-system-grid : rgb(204, 204, 204) -apple-system-separator : rgb(204, 204, 204) --apple-system-container-border : rgb(197, 197, 197) +-apple-system-container-border : rgba(0, 0, 0, 0) current-color with inherited -apple-system-label : rgba(0, 0, 0, 0.85098)
Truitt Savell
Comment 27 2018-09-10 16:55:24 PDT
James Savage
Comment 28 2018-09-10 18:00:55 PDT
Created attachment 349366 [details] Follow up changes for High Sierra
Ryan Haddad
Comment 29 2018-09-10 19:56:13 PDT
Reopening for follow up patch.
WebKit Commit Bot
Comment 30 2018-09-11 10:14:36 PDT
Comment on attachment 349366 [details] Follow up changes for High Sierra Rejecting attachment 349366 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 349366, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output: https://webkit-queues.webkit.org/results/9174138
Timothy Hatcher
Comment 31 2018-09-11 10:17:12 PDT
Comment on attachment 349366 [details] Follow up changes for High Sierra View in context: https://bugs.webkit.org/attachment.cgi?id=349366&action=review > Source/WebCore/ChangeLog:9 > + No new tests (OOPS!). Needs removed to land.
James Savage
Comment 32 2018-09-11 15:15:34 PDT
Created attachment 349470 [details] Follow up changes for High Sierra
EWS
Comment 33 2018-09-11 15:51:03 PDT
Comment on attachment 349470 [details] Follow up changes for High Sierra Rejecting attachment 349470 [details] from commit-queue. james.savage@apple.com does not have committer permissions according to https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Commit Bot
Comment 34 2018-09-11 16:41:56 PDT
Comment on attachment 349470 [details] Follow up changes for High Sierra Clearing flags on attachment: 349470 Committed r235922: <https://trac.webkit.org/changeset/235922>
WebKit Commit Bot
Comment 35 2018-09-11 16:41:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.