fune/layout/inspector
Emilio Cobos Álvarez feebcb3f8a Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe
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
2023-04-10 11:18:38 +00:00
..
tests Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
inDeepTreeWalker.cpp Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
inDeepTreeWalker.h Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
inIDeepTreeWalker.idl Bug 1825825 - Remove unused whatToShow option from devtools inspector walker. r=devtools-reviewers,devtools-backward-compat-reviewers,nchevobbe 2023-04-04 08:56:37 +00:00
inLayoutUtils.cpp
inLayoutUtils.h
InspectorFontFace.cpp
InspectorFontFace.h
InspectorUtils.cpp Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
InspectorUtils.h Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
moz.build
ServoStyleRuleMap.cpp
ServoStyleRuleMap.h