Bug 259416 - Update inverted-colors UA Stylesheet
Summary: Update inverted-colors UA Stylesheet
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-22 06:08 PDT by Luke Warlow
Modified: 2023-07-22 18:01 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Warlow 2023-07-22 06:08:07 PDT
WebKit has an outdated version of the UA stylesheet for inverted-colors

Current:
`
@media (inverted-colors) {
    img, picture, video { filter: invert(100%); } /* Images and videos double-inverted. */
}
`

Spec:
`
@media (inverted-colors) {
  img:not(picture>img), picture, video { filter: invert(100%); }
}
`
Comment 1 Luke Warlow 2023-07-22 06:14:55 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16011
Comment 2 EWS 2023-07-22 18:00:41 PDT
Committed 266234@main (87011db312c8): <https://commits.webkit.org/266234@main>

Reviewed commits have been landed. Closing PR #16011 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-07-22 18:01:17 PDT
<rdar://problem/112720328>