iOS/WebKit :root container bug?

Steps to reproduce the bug:

  1. Navigate to another page on this website
  2. Tap the "Back" arrow in iOS Safari

Does the previous page render, or is it blank?

I see a blank page using iOS history navigation when the :root or html element is a CSS container.

:root {
  container: root / inline-size;
}

I can reproduce this bug on iOS and iPadOS. Safari on macOS is unaffected.

WebKit bug #282592

Video demo