| Summary: | WebKit thinks that a formatting context root stops fitting in a tiny space, when you give it a negative margin | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Holbert <dholbert> | ||||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED INVALID | ||||||||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 15 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: |
https://bugs.chromium.org/p/chromium/issues/detail?id=1141209 https://bugzilla.mozilla.org/show_bug.cgi?id=1745310 |
||||||||
| Attachments: |
|
||||||||
|
Description
Daniel Holbert
2021-12-07 16:14:51 PST
Created attachment 446249 [details]
testcase 2 (using display:flow-root instead of flex)
Note: testcase 1 used flexbox, but as discussed on the chromium bug report, this isn't specific to flexbox; you can reproduce it with 'display:flow-root' as well, for example.
Here's a version using 'display: flow-root'.
For reference, I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1745310 on the Firefox side, as a place to aggregate webcompat issues that we've run into as a result of this interop issue. I've done some more investigation and I actually think the WebKit/Blink behavior makes some sense here, per https://bugzilla.mozilla.org/show_bug.cgi?id=1745310#c9 . And the web apparently depends on it (per the various WebCompat dupes over there). So, we can close this one as INVALID. But while investigating that, I found a WebKit-specific version of this behavior that makes less sense and that I suspect the web does *not* depend on, and I filed that as: https://bugs.webkit.org/show_bug.cgi?id=239976 |