зеркало из https://github.com/mozilla/gecko-dev.git
feebcb3f8a
The tree devtools uses is the light dom + pseudo-elements + NAC, but sometimes it wants to know stuff about the flat tree like assigned nodes. Previously it was using a weird mix of the anonymous vs. non-anonymous walkers to get what it wants, but that's needlessly complicated. Instead, make InspectorUtils.getChildrenForNode do the right thing, and add assigned nodes explicitly. While _getChildren using a walker might seem like a good idea for performance, realistically it was using InspectorUtils under the hood, and this is much simpler. Differential Revision: https://phabricator.services.mozilla.com/D174491 |
||
---|---|---|
.. | ||
tests | ||
InspectorFontFace.cpp | ||
InspectorFontFace.h | ||
InspectorUtils.cpp | ||
InspectorUtils.h | ||
ServoStyleRuleMap.cpp | ||
ServoStyleRuleMap.h | ||
inDeepTreeWalker.cpp | ||
inDeepTreeWalker.h | ||
inIDeepTreeWalker.idl | ||
inLayoutUtils.cpp | ||
inLayoutUtils.h | ||
moz.build |