[Webkit-unassigned] [Bug 182816] New: `@supports (display: contents)` feature query in CSS incorrectly passes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 14 16:39:52 PST 2018


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

            Bug ID: 182816
           Summary: `@supports (display: contents)` feature query in CSS
                    incorrectly passes
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rhys at rpowell.me

If I write the following in a CSS stylesheet:

    @supports (display: contents) {
      display: contents;
    }

WebKit will incorrectly claim to support `display: contents` and apply the styles inside that `@supports` block. As WebKit doesn't actually support this property, and instead falls back to `display: inline` which breaks many layouts dependent on `display: contents`, this feature query should not pass.

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


More information about the webkit-unassigned mailing list