diff --git a/apps/integration_test/src/valdi/integration_test_app/src/IntegrationTestCases.tsx b/apps/integration_test/src/valdi/integration_test_app/src/IntegrationTestCases.tsx index bf1943cea..5086f3241 100644 --- a/apps/integration_test/src/valdi/integration_test_app/src/IntegrationTestCases.tsx +++ b/apps/integration_test/src/valdi/integration_test_app/src/IntegrationTestCases.tsx @@ -4813,6 +4813,29 @@ export const INTEGRATION_TEST_CASES: readonly IntegrationTestCase[] = [ } }, }, + { + // An image sized width:100% with no explicit height must give its + // (auto-height) container an intrinsic height from the image aspect ratio. + // Web must not collapse the container to 0 height. + id: 'image-intrinsic-height-container', + name: 'Image intrinsic height drives container', + description: + 'Image with width:100% and no explicit height inside an auto-height container; the container must take the image height, not collapse to zero.', + element: 'image', + render: (ctx: IntegrationTestRenderContext) => { + + + ctx.record(`intrinsic image decoded:${w}x${h}`)} + onAssetLoad={(success, error) => ctx.record(`intrinsic image asset:${success}:${error ?? ''}`)} + /> + + ; + }, + }, ]; export type IntegrationCoverageLedgerElement = NativeTemplateElementName | 'slot';