The initial value of color-scheme was resolved to be 'normal' instead of 'auto' in [1]. This causes many failures in https://wpt.fyi/results/css/css-color-adjust [1] https://github.com/w3c/csswg-drafts/issues/3849
<rdar://problem/58388530>
Created attachment 439054 [details] To check layout test result
Created attachment 439070 [details] To check layout test result
Comment on attachment 439070 [details] To check layout test result View in context: https://bugs.webkit.org/attachment.cgi?id=439070&action=review > Source/WebCore/css/parser/CSSPropertyParser.cpp:3967 > // Auto is only allowed as a single value, and was handled earlier. This comment needs to be updated.
Comment on attachment 439070 [details] To check layout test result View in context: https://bugs.webkit.org/attachment.cgi?id=439070&action=review >> Source/WebCore/css/parser/CSSPropertyParser.cpp:3967 >> // Auto is only allowed as a single value, and was handled earlier. > > This comment needs to be updated. Ok, I will change this in the next patchset.
Mail and Safari, which looks for "auto" in some dark mode detection scripts, will need updated after this change lands. See bug 224810.
(In reply to Timothy Hatcher from comment #6) > Mail and Safari, which looks for "auto" in some dark mode detection scripts, > will need updated after this change lands. > > See bug 224810. It seems that this bug is duplicated with 224810. Then I will mark this bug as duplicated.
*** This bug has been marked as a duplicate of bug 224810 ***
(In reply to Timothy Hatcher from comment #6) > Mail and Safari, which looks for "auto" in some dark mode detection scripts, > will need updated after this change lands. Can we instead update them beforehand to work with both "auto" and "normal"?
Unduping, I think this is worth doing separately.
Pull request: https://github.com/WebKit/WebKit/pull/3471
Committed 253659@main (1ec4bb7857c4): <https://commits.webkit.org/253659@main> Reviewed commits have been landed. Closing PR #3471 and removing active labels.