This is probably nothing more than an implementation detail. The only thing CSS2.1 says about overflow control is that the overflow property controls the overflow of content according to the containing block to which the property applies. It does not define the behavior and rendering of form elements, etc. Regarding this property.
As I said, itβs clear that the drop-down menu is not created as a descendant of the wrapper or even the select element. In fact, it is possible that most browsers prefer to display it completely independently of the canvas and as a user interface element at the application or system level in their own right (probably for reasons of usability). Note that while you can apply CSS to option elements to influence how the drop-down menu is displayed, you cannot actually style the drop-down menu.
Boltclock
source share