[Webkit-unassigned] [Bug 163564] New: AX: "(inverted-colors)" media query only matches on page reload; should match on change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 17 13:56:17 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163564

            Bug ID: 163564
           Summary: AX: "(inverted-colors)" media query only matches on
                    page reload; should match on change
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jcraig at apple.com
                CC: webkit-bug-importer at group.apple.com

Given the following CSS, the media query only matches on page reload if colors are inverted. It does not match when the setting changes.

```
html, body {
  color: #000;
  background-color: #fff;
}
@media (inverted-colors) {
  html, body {
    color: #006;
    background-color: #ffa;
  }
  img, video {
    filter: invert(100%);
  }
}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161017/4475abdb/attachment.html>


More information about the webkit-unassigned mailing list