Variant that doesn’t reproduce the bug

Tim wanted to see if this bug reproduces with contain: inline-size instead of with container queries. It doesn’t.

steps to reproduce

  1. navigate to this page
  2. hit the back button

expected

you should see this page again.

actual

you see this page again.

relevant info

here is the CSS being applied: