[css-contain-3] Implement "contain: inline-size" (Inline-Size Containment)
Categories
(Core :: Layout, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: dholbert, Assigned: dshin)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
Filing this bug on implementing contain: inline-size
, which turns on inline size containment, as described in css-contain-3:
https://www.w3.org/TR/css-contain-3/#valdef-contain-inline-size
Reporter | ||
Comment 1•3 years ago
|
||
There are some tests for this feature here:
https://wpt.fyi/results/css/css-contain?label=master&label=experimental&aligned&q=contain-inline-size
Right now, all browsers fail all-but-one of those tests (the one exception being contain-inline-size-table.html
which everyone passes because it's a test for the feature not doing anything on tables, since size containment explicitly doesn't apply to tables).
If I visit chrome://flags/
in Chrome Dev Edition and enable their experimental support for Container Queries, then it looks like they pass all the tests except for http://wpt.live/css/css-contain/contain-inline-size-multicol.html .
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
•
|
||
Change in progress, but will still fail relevant WPT contain-inline-size-bfc-floats-001.html
due to Bug 1763431.
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
Assignee | ||
Comment 8•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Comment on attachment 9273074 [details]
Bug 1755565 - Simplify nsVideoFrame::GetMinISize, r=dholbert
Revision D144182 was moved to bug 1765654. Setting attachment 9273074 [details] to obsolete.
Reporter | ||
Comment 10•3 years ago
|
||
Closing this bug as FIXED, since the main patch landed & this was only being left open for the followup refactoring patch, which I've now moved to bug 1765654 due to the fact that it's not actually a pure refactoring.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Hi Daniel, I've added dev-docs-complete
keyword for this bug; the following GitHub issue is a parent task to track all documentation changes related to this:
https://github.com/mdn/content/issues/19831
Thanks!
Reporter | ||
Comment 12•3 years ago
|
||
Good to know, thanks!
Description
•