The note at https://www.w3.org/TR/css-overflow-3/#overflow-propagation says "Using containment disables this special handling of the HTML body element."
However, it doesn't say which element containment is being applied to in this scenario; it might be the body or the html.
So the behavior of this scenario isn't very clear:
html { contain: layout; }
body { overflow: hidden; }
Does overflow:hidden propagation from the body to the viewport, or does containment on the html prevent that propagation?
Test case at https://jsfiddle.net/qj9v0h2t/