buildScopeFor method
Rebuilds element when it is dirty and under root.
Implementation
void buildScopeFor(Element root, Element element) {
if (!_dirty.remove(element)) return;
if (!_isDescendantOf(element, root)) return;
_logBuild(element);
element.rebuild();
}