gecko-dev/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
InspectorFontFace.cpp Bug 650372 - Use the style-system format hint directly in gfx, instead of mapping to a separate internal enum. r=gfx-reviewers,aosmond,lsalzman 2022-08-12 11:25:59 +00:00
InspectorFontFace.h Bug 1768189 - Part 46: Apply modernize-concat-nested-namespaces to dom/xslt/xpath/XPathResult.h ... r=andi 2022-05-09 20:41:21 +00:00
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
ServoStyleRuleMap.cpp Bug 1791777 - patch 1 - Implement CSS parsing for the @font-palette-values rule. r=emilio 2022-10-07 23:00:43 +00:00
ServoStyleRuleMap.h Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame 2021-07-20 13:17:02 +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
moz.build Bug 1731371: Remove REQUIRES_UNIFIED_BUILD declaration from layout subdirectories that don't need it. r=emilio 2021-09-19 04:03:41 +00:00