I don't do web programming - does anyone know what the advantages are of having it work like this? I found it a bit annoying.
There are two basic approaches to sizing content, styled and scripted. Styled or stylesheets is where the developer provides style rules which the browser applies to fit content into the space. Scripted is where code written by the developer locally runs in the browser decides the size and positioning based on the size available. A combination of the two can also be used. Most websites these days predominately use stylesheets for the appearance of content.
Styled will respond immediately and naturally to resizing a browser refitting as the size changes, possibly with some content reformatting/appearing/disappearing at certain sizes. Scripting for sizing will often have a brief period of looking wrong until the script runs to resize and reformat the content to the new size.
Scripting is sometimes essential, if a button changes what content is to be shown that either is going to a new web page or a script running. A flow on a small screen might prefer multiple steps rather than one step involving a lot of scrolling. On the flip side it's then on the developer to work out what and how to carry across what was previously entered if size changes. Troubleshooting issues can also be more complicated as different scripts might have run for what appears to be similar activity. Stylesheets on the other hand are more predictable as will always be the same for the same content, though can be fiddly as different browsers can interpret rules a bit differently.
The TfW website looks unusually bad. Even when into the ticket flow proper and out of the embedded frame the site appears to significantly reload on resize. Many websites can have slightly odd behaviour when menus/navigation are open while resizing as most will use both styling and scripting. e.g. For me on National Rail Enquiries starting wide, resizing to be narrow and opening the navigation menu top left, then resizing larger will restore what was previously shown. However, the ability to scroll down is lost and requires a refresh or sizing smaller then exiting the menu before resizing.