зеркало из https://github.com/mozilla/gecko-dev.git
a64e3a50db
When building the display list for popup frames we hit this early return https://searchfox.org/mozilla-central/rev/08899071a2c8a573ac47ac632869bb92269b3ec3/layout/generic/nsIFrame.cpp#4089 because menupopups are given top layer style here https://searchfox.org/mozilla-central/rev/08899071a2c8a573ac47ac632869bb92269b3ec3/toolkit/content/xul.css#370 The place where top layer items would get added to the display list is https://searchfox.org/mozilla-central/rev/08899071a2c8a573ac47ac632869bb92269b3ec3/layout/generic/ViewportFrame.cpp#163 However that iterates the toplayer list from the document which does not contain menupopups; it contains things like popover, fullscreen, dialog. However, if not culled by that toplayer early return, popups would be culled by this popup specific early return a few lines later https://searchfox.org/mozilla-central/rev/08899071a2c8a573ac47ac632869bb92269b3ec3/layout/generic/nsIFrame.cpp#4110 So I think using a popup check here is the right way to go. Differential Revision: https://phabricator.services.mozilla.com/D197313 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |