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");