Largest Width of All Elements

Largest Width of All Elements

What would be the best way to find the largest width of all child elements? Yes, the containing block should be the largest width but in my case there could be some overflow that is larger than the container. Thanks!