What makes a closed way show up as an Enclosing Feature with Query Features?
There are two nearby state forests, "A" and "B". When I use Query Features in OSM, and select a feature like a road or path inside "A", the sidebar includes the state forest "A" as an Enclosing Feature. But when I do the same thing with a feature inside "B", it does not list "B" as an enclosing feature.
I would like to fix "B", so I looked closer at the features and tags.
Both "A" and "B" are closed ways, with landuse=forest and a name. But "A" is the outer-role member of a multipolygon relation, and B is not a member of a relation. That is the only difference. So it seems to me that being a member of a multipolygon relation makes the way a candidate for being an enclosing feature.
Other features I see listed under Enclosing Features are administrative boundaries (with or without multipolygons), so it seems that type=boundary and/or boundary=administrative also makes a closed way appear as an enclosing feature.
Am I right about this? Is there documentation on what causes a closed Way to be listed as an enclosing feature? (I couldn't find anything on the OSM wiki.)