WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
187778
Setting foreground color when editing should take color-filter into account, and report the correct foreground color for collapsed selections
https://bugs.webkit.org/show_bug.cgi?id=187778
Summary
Setting foreground color when editing should take color-filter into account, ...
Simon Fraser (smfr)
Reported
2018-07-18 13:45:34 PDT
Setting foreground color when editing should take color-filter into account, and report the correct foreground color for collapsed selections
Attachments
Patch
(20.97 KB, patch)
2018-07-18 14:07 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-sierra
(2.30 MB, application/zip)
2018-07-18 15:19 PDT
,
EWS Watchlist
no flags
Details
Patch
(23.52 KB, patch)
2018-07-18 15:35 PDT
,
Simon Fraser (smfr)
rniwa
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-sierra
(2.57 MB, application/zip)
2018-07-18 16:34 PDT
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews205 for win-future
(13.01 MB, application/zip)
2018-07-18 22:56 PDT
,
EWS Watchlist
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-07-18 14:06:03 PDT
<
rdar://problem/42350580
>
Simon Fraser (smfr)
Comment 2
2018-07-18 14:07:31 PDT
Created
attachment 345281
[details]
Patch
EWS Watchlist
Comment 3
2018-07-18 15:19:43 PDT
Comment on
attachment 345281
[details]
Patch
Attachment 345281
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/8579271
New failing tests: editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html editing/mac/attributed-string/attrib-string-colors-with-color-filter.html editing/mac/attributed-string/attrib-string-range-with-color-filter.html
EWS Watchlist
Comment 4
2018-07-18 15:19:45 PDT
Created
attachment 345293
[details]
Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
Simon Fraser (smfr)
Comment 5
2018-07-18 15:20:27 PDT
Need Sierra-specific results.
Simon Fraser (smfr)
Comment 6
2018-07-18 15:35:04 PDT
Created
attachment 345295
[details]
Patch
EWS Watchlist
Comment 7
2018-07-18 16:34:39 PDT
Comment on
attachment 345295
[details]
Patch
Attachment 345295
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/8580467
New failing tests: editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html
EWS Watchlist
Comment 8
2018-07-18 16:34:41 PDT
Created
attachment 345303
[details]
Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
Ryosuke Niwa
Comment 9
2018-07-18 21:38:06 PDT
Comment on
attachment 345295
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=345295&action=review
> Source/WebCore/editing/cocoa/EditorCocoa.mm:104 > if (foregroundColor.isValid() && !Color::isBlackColor(foregroundColor))
What we really want to check here is whether foregroundColor matches the default text color or not.
> LayoutTests/editing/mac/attributed-string/attrib-string-range-with-color-filter.html:14 > + document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
Why not just document.getElementById("console").append(message + '\n')?
> LayoutTests/editing/mac/attributed-string/attributed-string-for-typing-with-color-filter.html:26 > +}
Show an error message here in else case?
EWS Watchlist
Comment 10
2018-07-18 22:56:10 PDT
Comment on
attachment 345295
[details]
Patch
Attachment 345295
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/8583440
New failing tests: editing/style/exec-command-foreColor-with-color-filter.html
EWS Watchlist
Comment 11
2018-07-18 22:56:22 PDT
Created
attachment 345331
[details]
Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Ryan Haddad
Comment 12
2018-07-19 16:07:51 PDT
This change was landed in
https://trac.webkit.org/changeset/234005/webkit
Ryan Haddad
Comment 13
2018-07-19 16:08:10 PDT
(In reply to Build Bot from
comment #7
)
> Comment on
attachment 345295
[details]
> Patch > >
Attachment 345295
[details]
did not pass mac-ews (mac): > Output:
https://webkit-queues.webkit.org/results/8580467
> > New failing tests: > editing/mac/attributed-string/attributed-string-for-typing-with-color-filter. > html
This is failing on the bots now that the change has landed:
https://build.webkit.org/results/Apple%20High%20Sierra%20Release%20WK1%20(Tests)/r234007%20(6810)/results.html
Simon Fraser (smfr)
Comment 14
2018-07-19 16:21:15 PDT
Test fix in
https://trac.webkit.org/changeset/234014/webkit
.
Ryan Haddad
Comment 15
2018-07-20 09:27:55 PDT
Rebaselined the test for Sierra in
https://trac.webkit.org/r234041
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