content
content copied to clipboard
contain-intrinsic-size - improve docs
contain-intrinsic-size docs are incomplete and inaccurate.
More work to be done:
- Need to update https://github.com/mdn/data/blob/main/css/properties.json
- Need docs for
- contain-intrinsic-width
- contain-intrinsic-height
- Perhaps some examples
- Update CSS containment with
- Information about
contains-intrinsic-sizein the appropriate section on size containment. - information about
content-visibilityas this also triggers CSS containment.
- Information about
This is related to #20876
Preview URLs
(this comment was updated 2022-09-23 12:30:11.748288)
Can we ease the reading level down? i.e. intrinsic, mitigated, and computational may not be understood by native English speakers and we have a large ESL audience.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Containment mentions:
The specification defines a single CSS property contain ....
we should likely add this to that page.
Thanks all. I'm going to merge this in the current state 👍🏻 it looks like we can revisit the auto value if there's an outcome from the separate discussion on the benefits there :)