overflow:hiddenon a container element? At which pixel point do the element's contents get hidden? Is it at the padding, the inside of the border, the outside of the border, the outline or somewhere else?
The spec sort of states that it's at the border or padding (depending on background-clip):
Other effects that clip to the border or padding edge (such as ‘overflow’ other than ‘visible’) also must clip to the curve.With that in mind, I decided to throw rounded corners into the fray and have some fun:
Caveat: Opera is broken.
Anyone wanna try a deathstar?