diff --git a/css/css-sizing/contain-intrinsic-size/auto-005.html b/css/css-sizing/contain-intrinsic-size/auto-005.html index 4a920ac80600652..2b7e03192dc701e 100644 --- a/css/css-sizing/contain-intrinsic-size/auto-005.html +++ b/css/css-sizing/contain-intrinsic-size/auto-005.html @@ -1,6 +1,6 @@ -Tests that contain-intrinsic-size: auto only works with content-visibility: auto, not just hidden visibility +Tests that contain-intrinsic-size: auto also works with content-visibility: hidden @@ -17,8 +17,7 @@ el.style.contain = "size"; el.style.contentVisibility = "hidden"; log.innerText = el.offsetHeight; - // No content-visibility: auto, so this should remain 1. - assert_equals(el.offsetHeight, 1); + assert_equals(el.offsetHeight, 50); } var t = async_test("contain-intrinsic-size: auto");