Hm, so the positioned element is scoped by a nearby ancestor. We should be able to bail out early based on that. Let me try swapping the checks [here](https://searchfox.org/firefox-main/rev/7f451c7918ffe36840b0ef31dfc2272ded671f81/layout/base/AnchorPositioningUtils.cpp#407,412)
Bug 2059881 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hm, so the positioned element is [scoped](https://searchfox.org/firefox-main/rev/7f451c7918ffe36840b0ef31dfc2272ded671f81/browser/themes/shared/tabbrowser/tabs.css#1072,1085) by a nearby ancestor. We should be able to bail out early based on that. Let me try swapping the checks [here](https://searchfox.org/firefox-main/rev/7f451c7918ffe36840b0ef31dfc2272ded671f81/layout/base/AnchorPositioningUtils.cpp#407,412)