[css-sizing] Is the last remembered size recorded if there is size containment in a single axis?
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
From https://drafts.csswg.org/css-sizing-4/#last-remembered
At the time that ResizeObserver events are determined and delivered, if an element has contain-intrinsic-size: auto, is capable of being a ResizeObserver target, but does not have size containment, record the current inner dimensions of its principal box as its last remembered size.
What if the element has contain: inline-size?
- The dimensions are recorded as the last remembered size, as would happen with no containment.
- The dimensions are not recorded as the last remembered size, as would happen with full size containment.
- Only the block dimension is recorded as the last remembered block size. This would imply that the dimensions are recorded independently, and probably it should be the same when
contain-intrinsic-sizehasautoin a single axis (#7516).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the CSS Sizing Level 4 “last remembered size” and contain-intrinsic-size sections, then compare the inline-size containment behavior with the related issue #7516 and the cited CSS Containment and ResizeObserver definitions. Done means the Working Group has resolved which dimensions are recorded and the specification wording reflects that decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100