- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Sat, 30 Nov 2024 22:45:45 +0000
- To: public-css-archive@w3.org
SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-contain] ` == CSS Contain currently says this regarding [size containment](https://drafts.csswg.org/css-contain-2/#size-containment): > However, giving an element [size containment](https://drafts.csswg.org/css-contain-2/#size-containment) has no effect if any of the following are true: > * if the element does not generate a [principal box](https://drafts.csswg.org/css-display-4/#principal-box) (as is the case with [display: contents](https://drafts.csswg.org/css-display-3/#propdef-display) or display: none) > * if its [inner display type](https://drafts.csswg.org/css-display-4/#inner-display-type) is [table](https://drafts.csswg.org/css-display-4/#valdef-display-table) > * if its [principal box](https://drafts.csswg.org/css-display-4/#principal-box) is an [internal table box](https://drafts.csswg.org/css-display-3/#internal-table-box) > * if its [principal box](https://drafts.csswg.org/css-display-4/#principal-box) is an [internal ruby box](https://drafts.csswg.org/css-display-3/#internal-ruby-box) or a [non-atomic](https://drafts.csswg.org/css-display-3/#atomic-inline) [inline-level](https://drafts.csswg.org/css-display-3/#inline-level) box While it mentions internal ruby boxes, it seems to miss [ruby containers](https://drafts.csswg.org/css-ruby-1/#ruby-container), while a [WPT tests for that](https://wpt.fyi/results/css/css-contain/content-visibility/content-visibility-on-ruby.html?label=experimental&label=master&aligned). So I believe the second point should be extended like this: * if its [inner display type](https://drafts.csswg.org/css-display-4/#inner-display-type) is [table](https://drafts.csswg.org/css-display-4/#valdef-display-table) or [ruby](https://drafts.csswg.org/css-display-4/#valdef-display-ruby) Sebastian Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11304 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 30 November 2024 22:45:46 UTC