The transition ran for 180 milliseconds without moving a pixel.
The common read: a max-height transition animates the panel, so the panel starts closing on the first frame.
The panel was 4000px tall and stayed at exactly 4000px for the first 180ms of a 300ms close. Nothing was stuck. The declared ceiling is 9999px and the content is 4000px, so the falling ceiling has 5999px to cover before it touches anything you can see, and 5999 of 9999 pixels at a constant rate is 180 of 300 milliseconds.
Measured on the pinned engines at a 1280 by 800 viewport, the last frame reading exactly 4000px lands at 175.2ms in chromium, 174.2ms in firefox and 166ms in webkit, and the first frame below 4000px lands at 183.5ms, 182.54ms and 183ms. Frame quantisation is the whole width of that bracket, and 180ms sits inside it in all three.
The number moves with the guess, which is the part worth carrying: raise the ceiling to be safe for a taller panel and the pause gets longer, in direct proportion.
9999 was a guess. It was a good guess. It was still a guess.
