WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201098
Unprefix -webkit-print-color-adjust CSS property
https://bugs.webkit.org/show_bug.cgi?id=201098
Summary
Unprefix -webkit-print-color-adjust CSS property
Myles C. Maxfield
Reported
2019-08-23 15:59:55 PDT
https://www.w3.org/TR/css-color-adjust-1/#perf
it's now named "color-adjust".
Attachments
WIP
(15.93 KB, patch)
2019-08-24 22:01 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Patch
(31.17 KB, patch)
2022-01-06 06:30 PST
,
Tim Nguyen (:ntim)
darin
: review+
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(31.81 KB, patch)
2022-01-06 10:48 PST
,
Tim Nguyen (:ntim)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2019-08-24 22:01:21 PDT
Created
attachment 377220
[details]
WIP
Philip Jägenstedt
Comment 2
2020-11-26 04:08:54 PST
Are there any existing tests for this? I had a look in
https://wpt.fyi/results/css/css-color-adjust?label=master&label=experimental&aligned
but can't find any, those tests are for
https://drafts.csswg.org/css-color-adjust-1/#preferred
Tim Nguyen (:ntim)
Comment 3
2021-05-19 10:07:42 PDT
https://github.com/w3c/csswg-drafts/issues/3880#issuecomment-844285686
Tim Nguyen (:ntim)
Comment 4
2021-12-24 18:28:50 PST
https://drafts.csswg.org/css-color-adjust-1/#print-color-adjust
Tim Nguyen (:ntim)
Comment 5
2021-12-24 18:33:26 PST
Filed a bug on the Gecko side to rename color-adjust to print-color-adjust (so color-adjust can eventually be removed from the spec).
Tim Nguyen (:ntim)
Comment 6
2021-12-24 18:33:39 PST
(In reply to Tim Nguyen (:ntim) from
comment #5
)
> Filed a bug on the Gecko side to rename color-adjust to print-color-adjust > (so color-adjust can eventually be removed from the spec).
https://bugzilla.mozilla.org/show_bug.cgi?id=1747595
Tim Nguyen (:ntim)
Comment 7
2022-01-06 06:30:58 PST
Created
attachment 448495
[details]
Patch
Tim Nguyen (:ntim)
Comment 8
2022-01-06 06:33:01 PST
WPT is:
https://github.com/web-platform-tests/wpt/blob/2800adf9b7/css/css-color-adjust/print-color-adjust-parsing.html
Darin Adler
Comment 9
2022-01-06 10:16:05 PST
Comment on
attachment 448495
[details]
Patch Looks like we missed at least 6 files: platform/ios-wk2/fast/css/getComputedStyle/computed-style-expected.txt platform/ios-wk2/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt platform/ios-wk2/svg/css/getComputedStyle-basic-expected.txt platform/mac/fast/css/getComputedStyle/computed-style-expected.txt platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt platform/mac/svg/css/getComputedStyle-basic-expected.txt Assuming we update those too, r=me Also a little disappointing there are no progressions in WPT from this. Does this mean WPT doesn’t have any tests of this property?
Darin Adler
Comment 10
2022-01-06 10:16:41 PST
Oh, I see your "WPT is" comment lists a test, but maybe one we haven’t imported yet?
Tim Nguyen (:ntim)
Comment 11
2022-01-06 10:48:54 PST
Created
attachment 448509
[details]
Patch
Tim Nguyen (:ntim)
Comment 12
2022-01-06 10:53:53 PST
(In reply to Darin Adler from
comment #10
)
> Oh, I see your "WPT is" comment lists a test, but maybe one we haven’t > imported yet?
Yeah, the 2 relevant tests (inheritance and parsing) need to be imported, I filed
bug 234927
for that.
Darin Adler
Comment 13
2022-01-06 11:04:09 PST
(In reply to Tim Nguyen (:ntim) from
comment #12
)
> Yeah, the 2 relevant tests (inheritance and parsing) need to be imported, I > filed
bug 234927
for that.
As a general rule, in cases like this, I would suggest that we first import a test, add it to WebKit along with the expected failure, then fix the bug or add the feature and land the patch that includes a progression on that test. Not insisting on that in this case, but I think it’s the best practice.
Tim Nguyen (:ntim)
Comment 14
2022-01-06 11:13:49 PST
(In reply to Darin Adler from
comment #9
)
> Comment on
attachment 448495
[details]
> Patch > > Looks like we missed at least 6 files: > > platform/ios-wk2/fast/css/getComputedStyle/computed-style-expected.txt > platform/ios-wk2/fast/css/getComputedStyle/computed-style-without-renderer- > expected.txt > platform/ios-wk2/svg/css/getComputedStyle-basic-expected.txt > platform/mac/fast/css/getComputedStyle/computed-style-expected.txt > platform/mac/fast/css/getComputedStyle/computed-style-without-renderer- > expected.txt > platform/mac/svg/css/getComputedStyle-basic-expected.txt
r287460
removed the mac files and
r287403
renamed the ios-wk2 ones to ios. The remaining ones should already be handled in the patch. (In reply to Darin Adler from
comment #13
)
> (In reply to Tim Nguyen (:ntim) from
comment #12
) > > Yeah, the 2 relevant tests (inheritance and parsing) need to be imported, I > > filed
bug 234927
for that. > > As a general rule, in cases like this, I would suggest that we first import > a test, add it to WebKit along with the expected failure, then fix the bug > or add the feature and land the patch that includes a progression on that > test. > > Not insisting on that in this case, but I think it’s the best practice.
I agree, I didn't do it in this case since I was planning to update my build first to tip of webkit (which requires a new XCode SDK) before running the tests. The WPT don't add much over the current webkit LayoutTest, aside from inheritance testing, so I thought that we could land this first. I'll get to
bug 234927
ASAP.
Darin Adler
Comment 15
2022-01-06 11:20:58 PST
(In reply to Tim Nguyen (:ntim) from
comment #14
)
>
r287460
removed the mac files and
r287403
renamed the ios-wk2 ones to ios. > The remaining ones should already be handled in the patch.
I goy that impression because of the mac-wk2 failure on EWS; I guess you dealt with that and I just didn’t know the details.
Radar WebKit Bug Importer
Comment 16
2022-01-06 11:28:09 PST
<
rdar://problem/87210305
>
EWS
Comment 17
2022-01-06 12:22:15 PST
Committed
r287712
(
245797@main
): <
https://commits.webkit.org/245797@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 448509
[details]
.
Tim Nguyen (:ntim)
Comment 18
2024-11-12 13:45:04 PST
***
Bug 282929
has been marked as a duplicate of this 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