Why would applications have to consider relayouting? Isn't that entirely in the hand of the Windows taskbar?
It shows the window groups, windows, pops over previews of windows or tabs in a consistent style, presumably owned by the taskbar itself. At no point do applications themselves control their positions or size in the taskbar or the taskbar popovers.