(In reply to Hamish Willee from comment #6)
Are any documentation impacts of this work that need to be recorded now? (I'm investigating for the docs team).
I don't think the
contain-intrinsic-size work has had any effect without enabling
layout.css.contain-intrinsic-size.enabled, and it's disabled by default.
content-visibility can be applied to an HTML element, such as a canvas, or an SVG element to effectively tell the user agent that the element doesn't have to be rendered (or that it may not need to be rendered and the user agent can decide when/if).
But that's bug 1660384.
contain-intrinsic-size can be applied at the same time to hint to the user agent how big the rendered element is so that the required space can be reserved for layout.
contain-intrinsic-size: <length> doesn't need
content-visibility, it works with any feature that triggers size containment, like
contain-intrinsic-size: auto <length> needs
content-visibility, otherwise it behaves as
- All of this is being delivered behind the pref
content-visibility has its own flag.
- I assume the plan is to ship
contain-intrinsic-size when all aspects as covered in the current spec are complete?
They are related features but can be used independently and can be shipped separately.
contain-intrinsic-size is basically complete except for https://github.com/w3c/csswg-drafts/issues/7598
- Any ETA on that?
A bit tricky to say for
contain-intrinsic-size, since it's basically complete but supporting multiple fragments according to https://github.com/w3c/csswg-drafts/issues/7598 will probably require changing ResizeObserver, which in turn will require discussing various issues with the CSSWG. Though maybe this can be deferred and ship without support for multiple fragments (like Blink did).
content-visibility better ask Martin Robinson, but probably it will take longer, especially
- Is there any reason not to add the preference for FF104 with a note that this is partial against
I don't know what "add the preference for FF104" means.
- Is there a different pref for