(!element->IsPseudoElement() &&If it doesn't cause any problems, I think we should drop the IsPseudoElement() condition in case we have a getComputedStyle() API in the future that would support e.g. getting computed styles for ::marker on a generated ::before element when the ::marker is not generated. Otherwise, this could become a hard-to-find invalidation problem.
if (func(*pseudo_element->GetComputedStyle())) {This seems messy. In MarkElementsForRecalc, we already traverse pseudo elements, and then we do it again here. Perhaps this is necessary for the ::-webkit-scrollbar-* ones mentioned above since they're typically not part of the traversal?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |