`contain:intrinsic-size; content-visibility:auto` causes `contain-intrinsic-height` to behave as if it were `0`
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: webcompat:platform-bug)
User Story
user-impact-score:200
Attachments
(1 file)
2.04 KB,
text/html
|
Details |
STR:
- Load attached testcase.
ACTUAL RESULTS:
Alert shows FAIL; got scrollHeight of 5000 but expected 21000
EXPECTED RESULTS:
Alert should show PASS; got scrollHeight of 21000 which is what we expect
NOTES:
scrollHeight is an estimate of the actual content-height, due to content-visibility: auto;
, but it's a giant under-estimate here -- our reported 5000px is just the height of the spacer element, and it doesn't include the heights of any of the product-item
divs.
If I remove contain: inline-size
from the testcase, then we give expected-results. So I think the issue is that contain: inline-size
is making us behave as if our used contain-intrinsic-height
were 0px.
If I remove contain:inline-size
, or if I change it to contain:size
, then we get expected-results here.
Reporter | ||
Comment 1•2 months ago
|
||
Reporter | ||
Updated•2 months ago
|
Reporter | ||
Comment 2•2 months ago
|
||
I believe this is the root cause of webcompat site-report bug 1978276.
Updated•12 days ago
|
Updated•9 days ago
|
Description
•