[Webkit-unassigned] [Bug 211994] New: MobileSafari falsely claims CSS resize property support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 17 03:08:21 PDT 2020


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

            Bug ID: 211994
           Summary: MobileSafari falsely claims CSS resize property
                    support
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bramus at bram.us

Recently I wrote an article on using CSS `resize: both;`: https://www.bram.us/2020/05/15/css-only-resizable-elements/

In browsers that don't support this property I wanted to show a warning on screen to notify users thereof. For this I use an @supports rule:

```css
.warning {
    display: block;
}

/* Hide warning in case browser supports resize: both; */
@supports (resize: both) {
    .warning {
        display: none;
    }
}
```

I've come to notice that MobileSafari – which does not support `resize: both;` – hides the warning and thus falsely claims to support said CSS resize property.

Demo: https://codepen.io/bramus/pen/RwWeqOP

-- 
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/20200517/fda4e765/attachment.htm>


More information about the webkit-unassigned mailing list