WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
277117
Implement CSS Box Sizing stretch keyword
https://bugs.webkit.org/show_bug.cgi?id=277117
Summary
Implement CSS Box Sizing stretch keyword
Karl Dubost
Reported
2024-07-25 19:48:39 PDT
On
https://drafts.csswg.org/css-sizing-4/#valdef-width-stretch
stretch is defined as: Applies stretch-fit sizing, attempting to match the size of the box’s margin box to the size of its containing block. See § 6.1 Stretch-fit Sizing: filling the containing block. to note that this behavior is currently covered by -webkit-fill-available. This value also creates webcompat issues for Firefox/Gecko
https://groups.google.com/a/mozilla.org/g/dev-platform/c/-pMSV-kgUjA/m/VRL09R1NAAAJ
-webkit-fill-available:
https://bugzilla.mozilla.org/show_bug.cgi?id=1872755
stretch:
https://bugzilla.mozilla.org/show_bug.cgi?id=1789477
Webcompat issue
https://webcompat.com/issues/115962
https://webcompat.com/issues/92483
https://webcompat.com/issues/56698
Attachments
rendering in safari, firefox, chrome (mozilla test case)
(939.52 KB, image/png)
2024-11-25 17:04 PST
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2024-07-25 19:50:16 PDT
One possibility is to make `-webkit-fill-available`, an alias of `stretch` IF it doesn't create webcompat issues.
Radar WebKit Bug Importer
Comment 2
2024-07-25 19:50:25 PDT
<
rdar://problem/132539604
>
Karl Dubost
Comment 3
2024-11-25 17:04:40 PST
Created
attachment 473367
[details]
rendering in safari, firefox, chrome (mozilla test case) SeeAlso
https://bugzilla.mozilla.org/show_bug.cgi?id=1933288
https://bugzilla.mozilla.org/attachment.cgi?id=9439837
https://github.com/web-platform-tests/wpt/pull/49364
Tim Nguyen (:ntim)
Comment 4
2026-03-02 01:10:39 PST
***
Bug 292076
has been marked as a duplicate of this bug. ***
Tim Nguyen (:ntim)
Comment 5
2026-03-02 01:10:47 PST
***
Bug 300661
has been marked as a duplicate of this bug. ***
Anne van Kesteren
Comment 6
2026-03-02 04:11:06 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59705
EWS
Comment 7
2026-03-17 07:15:59 PDT
Committed
309405@main
(fdfcbee33b6e): <
https://commits.webkit.org/309405@main
> Reviewed commits have been landed. Closing PR #59705 and removing active labels.
Anne van Kesteren
Comment 8
2026-03-17 23:13:16 PDT
***
Bug 241104
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug