CSS Contain currently says this regarding size containment:
However, giving an element size containment has no effect if any of the following are true:
While it mentions internal ruby boxes, it seems to miss ruby containers, while a WPT tests for that.
So I believe the second point should be extended like this:
Sebastian