WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
<
rdar://problem/41749096
>
Attachments
Patch
(7.11 KB, patch)
2018-08-30 17:48 PDT
,
James Savage
no flags
Details
Formatted Diff
Diff
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
Details
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
Details
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
Details
Patch
(6.04 KB, patch)
2018-09-05 23:45 PDT
,
James Savage
no flags
Details
Formatted Diff
Diff
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
Details
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
Details
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
Details
Patch for EWS
(8.46 KB, patch)
2018-09-07 17:59 PDT
,
James Savage
no flags
Details
Formatted Diff
Diff
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
Details
Patch
(8.45 KB, patch)
2018-09-07 19:37 PDT
,
James Savage
no flags
Details
Formatted Diff
Diff
Follow up changes for High Sierra
(3.56 KB, patch)
2018-09-10 18:00 PDT
,
James Savage
timothy
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Follow up changes for High Sierra
(3.54 KB, patch)
2018-09-11 15:15 PDT
,
James Savage
no flags
Details
Formatted Diff
Diff
Show Obsolete
(11)
View All
Add attachment
proposed patch, testcase, etc.
James Savage
Comment 1
2018-08-30 17:48:44 PDT
Created
attachment 348575
[details]
Patch
EWS Watchlist
Comment 2
2018-08-30 18:50:33 PDT
Comment hidden (obsolete)
Comment on
attachment 348575
[details]
Patch
Attachment 348575
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/9043048
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 3
2018-08-30 18:50:35 PDT
Comment hidden (obsolete)
Created
attachment 348578
[details]
Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 4
2018-08-30 19:41:18 PDT
Comment hidden (obsolete)
Comment on
attachment 348575
[details]
Patch
Attachment 348575
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/9043261
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 5
2018-08-30 19:41:20 PDT
Comment hidden (obsolete)
Created
attachment 348585
[details]
Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 6
2018-08-30 20:18:40 PDT
Comment hidden (obsolete)
Comment on
attachment 348575
[details]
Patch
Attachment 348575
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/9044073
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 7
2018-08-30 20:18:42 PDT
Comment hidden (obsolete)
Created
attachment 348587
[details]
Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Radar WebKit Bug Importer
Comment 8
2018-08-31 08:56:28 PDT
<
rdar://problem/43941916
>
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
Created
attachment 349003
[details]
Patch
EWS Watchlist
Comment 11
2018-09-06 00:59:09 PDT
Comment hidden (obsolete)
Comment on
attachment 349003
[details]
Patch
Attachment 349003
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/9111372
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 12
2018-09-06 00:59:11 PDT
Comment hidden (obsolete)
Created
attachment 349007
[details]
Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
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)
Comment on
attachment 349003
[details]
Patch
Attachment 349003
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/9111408
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 15
2018-09-06 01:13:52 PDT
Comment hidden (obsolete)
Created
attachment 349008
[details]
Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 16
2018-09-06 12:41:58 PDT
Comment hidden (obsolete)
Comment on
attachment 349003
[details]
Patch
Attachment 349003
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/9116422
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 17
2018-09-06 12:42:00 PDT
Comment hidden (obsolete)
Created
attachment 349054
[details]
Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
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)
Comment on
attachment 349222
[details]
Patch for EWS
Attachment 349222
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/9135725
New failing tests: fast/css/apple-system-control-colors.html
EWS Watchlist
Comment 22
2018-09-07 19:04:20 PDT
Comment hidden (obsolete)
Created
attachment 349228
[details]
Archive of layout-test-results from ews102 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-sierra Platform: Mac OS X 10.12.6
James Savage
Comment 23
2018-09-07 19:37:31 PDT
Created
attachment 349232
[details]
Patch
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
Test rebaselined in
https://trac.webkit.org/changeset/235874/webkit
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.
Top of Page
Format For Printing
XML
Clone This Bug