WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187425
Semantic colors don't update when accessibility Increase Contrast mode is enabled
https://bugs.webkit.org/show_bug.cgi?id=187425
Summary
Semantic colors don't update when accessibility Increase Contrast mode is ena...
Timothy Hatcher
Reported
2018-07-06 17:04:25 PDT
<
rdar://problem/39948240
>
Attachments
Patch
(18.51 KB, patch)
2018-07-06 17:38 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Patch
(18.50 KB, patch)
2018-07-06 18:07 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-cq-02 for mac-sierra
(2.29 MB, application/zip)
2018-07-06 19:19 PDT
,
WebKit Commit Bot
no flags
Details
Patch
(23.18 KB, patch)
2018-07-09 15:18 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Patch
(23.98 KB, patch)
2018-07-09 15:22 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2018-07-06 17:38:06 PDT
Comment hidden (obsolete)
Created
attachment 344493
[details]
Patch
Tim Horton
Comment 2
2018-07-06 18:01:20 PDT
Comment hidden (obsolete)
Comment on
attachment 344493
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=344493&action=review
Seems reasonable, though some bits could use an anttik once-over.
> Source/WebCore/ChangeLog:3 > + Semantic colors don't update with accessibility Increase Contrast mode is enabled.
s/with/when/?
Timothy Hatcher
Comment 3
2018-07-06 18:07:24 PDT
Comment hidden (obsolete)
Created
attachment 344495
[details]
Patch
WebKit Commit Bot
Comment 4
2018-07-06 19:19:07 PDT
Comment hidden (obsolete)
Comment on
attachment 344495
[details]
Patch Rejecting
attachment 344495
[details]
from commit-queue. New failing tests: media/media-fullscreen-return-to-inline.html Full output:
https://webkit-queues.webkit.org/results/8462792
WebKit Commit Bot
Comment 5
2018-07-06 19:19:09 PDT
Comment hidden (obsolete)
Created
attachment 344502
[details]
Archive of layout-test-results from webkit-cq-02 for mac-sierra The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: webkit-cq-02 Port: mac-sierra Platform: Mac OS X 10.12.6
WebKit Commit Bot
Comment 6
2018-07-06 20:42:22 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 344495
[details]
: media/media-fullscreen-return-to-inline.html
bug 187387
(authors:
graouts@apple.com
,
mcatanzaro@igalia.com
, and
ryanhaddad@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 7
2018-07-06 20:43:10 PDT
Comment hidden (obsolete)
Comment on
attachment 344495
[details]
Patch Clearing flags on attachment: 344495 Committed
r233612
: <
https://trac.webkit.org/changeset/233612
>
WebKit Commit Bot
Comment 8
2018-07-06 20:43:12 PDT
Comment hidden (obsolete)
All reviewed patches have been landed. Closing bug.
Antti Koivisto
Comment 9
2018-07-07 06:23:00 PDT
Comment on
attachment 344495
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=344495&action=review
> Source/WebCore/page/Page.cpp:536 > + if (StyleResolver* styleResolver = document->styleScope().resolverIfExists()) > + styleResolver->invalidateMatchedPropertiesCache(); > + document->scheduleForcedStyleRecalc(); > + document->styleScope().didChangeStyleSheetEnvironment();
Only the last one of these should really be needed (the rest are harmless though).
Timothy Hatcher
Comment 10
2018-07-07 12:02:33 PDT
(In reply to Antti Koivisto from
comment #9
)
> Comment on
attachment 344495
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=344495&action=review
> > > Source/WebCore/page/Page.cpp:536 > > + if (StyleResolver* styleResolver = document->styleScope().resolverIfExists()) > > + styleResolver->invalidateMatchedPropertiesCache(); > > + document->scheduleForcedStyleRecalc(); > > + document->styleScope().didChangeStyleSheetEnvironment(); > > Only the last one of these should really be needed (the rest are harmless > though).
They all seemed to be needed in my testing.
Truitt Savell
Comment 11
2018-07-09 08:34:28 PDT
Comment hidden (obsolete)
looks like after
r233612
we are having one api test fail on all platforms. Link to output of test failure:
https://build.webkit.org/builders/Apple%20High%20Sierra%20Release%20WK2%20%28Tests%29/builds/5489/steps/run-api-tests/logs/stdio
excerpt: Test suite failed Failed TestWebKitAPI.WebKit.LinkColorWithSystemAppearance /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm:56 Value of: linkColor Actual: "rgb(0, 0, 238)" Expected: "rgb(0, 105, 217)"
WebKit Commit Bot
Comment 12
2018-07-09 09:25:56 PDT
Comment hidden (obsolete)
Re-opened since this is blocked by
bug 187475
Timothy Hatcher
Comment 13
2018-07-09 15:18:55 PDT
Comment hidden (obsolete)
Created
attachment 344625
[details]
Patch
Timothy Hatcher
Comment 14
2018-07-09 15:22:09 PDT
Created
attachment 344626
[details]
Patch
WebKit Commit Bot
Comment 15
2018-07-09 16:14:48 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 344626
[details]
: media/video-fullscreen-reload-crash.html
bug 187489
(author:
jer.noble@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 16
2018-07-09 16:15:00 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 344626
[details]
: media/media-fullscreen-return-to-inline.html
bug 187387
(authors:
graouts@apple.com
,
mcatanzaro@igalia.com
, and
ryanhaddad@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 17
2018-07-09 17:22:10 PDT
Comment on
attachment 344626
[details]
Patch Clearing flags on attachment: 344626 Committed
r233670
: <
https://trac.webkit.org/changeset/233670
>
WebKit Commit Bot
Comment 18
2018-07-09 17:22:12 PDT
All reviewed patches have been landed. Closing bug.
Truitt Savell
Comment 19
2018-07-10 08:39:31 PDT
After
r233670
we are having the same api test failure on all platforms. Link to output of test failure:
https://build.webkit.org/builders/Apple%20High%20Sierra%20Release%20WK2%20%28Tests%29/builds/5539/steps/run-api-tests/logs/stdio
excerpt: Test suite failed Failed TestWebKitAPI.WebKit.LinkColorWithSystemAppearance /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm:56 Value of: linkColor Actual: "rgb(0, 105, 217)" Expected: "rgb(0, 104, 218)" It is good to note though that the actual and expected color is only off by one point this time.
Timothy Hatcher
Comment 20
2018-07-10 09:54:03 PDT
(In reply to Truitt Savell from
comment #19
)
> After
r233670
we are having the same api test failure on all platforms. > > Link to output of test failure: >
https://build.webkit.org/builders/
> Apple%20High%20Sierra%20Release%20WK2%20%28Tests%29/builds/5539/steps/run- > api-tests/logs/stdio > > excerpt: > Test suite failed > > Failed > > TestWebKitAPI.WebKit.LinkColorWithSystemAppearance > > > /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/ > WebKitCocoa/SystemColors.mm:56 > Value of: linkColor > Actual: "rgb(0, 105, 217)" > Expected: "rgb(0, 104, 218)" > > It is good to note though that the actual and expected color is only off by > one point this time.
It seems this differs from macOS 10.14 and previous systems.
Ryan Haddad
Comment 21
2018-07-10 17:24:34 PDT
(In reply to Timothy Hatcher from
comment #20
)
> (In reply to Truitt Savell from
comment #19
) > > After
r233670
we are having the same api test failure on all platforms. > > > > Link to output of test failure: > >
https://build.webkit.org/builders/
> > Apple%20High%20Sierra%20Release%20WK2%20%28Tests%29/builds/5539/steps/run- > > api-tests/logs/stdio > > > > excerpt: > > Test suite failed > > > > Failed > > > > TestWebKitAPI.WebKit.LinkColorWithSystemAppearance > > > > > > /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/ > > WebKitCocoa/SystemColors.mm:56 > > Value of: linkColor > > Actual: "rgb(0, 105, 217)" > > Expected: "rgb(0, 104, 218)" > > > > It is good to note though that the actual and expected color is only off by > > one point this time. > > It seems this differs from macOS 10.14 and previous systems.
Are we tracking a fix for this somewhere?
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