mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
f93bc01b67
forms.css sets overflow: -moz-hidden-unscrollable on all select elements. ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames. nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements. nsListControlFrame is an nsHTMLScrollFrame. As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping. Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip. But we still need to apply the clip when calculating the frame's visual overflow rect, so we add the list box frame type to the list of special-cased frames in UnionBorderBoxes. |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |