| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (!element)Let's ditch this check, or replace with `CHECK()`, or, better, pass Element& instead.
void InspectorCSSAgent::DidInvalidateStyleAttr(Node* node) {Any idea why this is a `Node`, not `Element`? Nodes are not supposed to have attributes, are they?
auto* element = DynamicTo<Element>(node);If we get rid of this, we can assume a non-null Element (or, as above, just pass by reference).
// Regression test: a CSSOM-driven inline style mutation (e.g.Any chance this can be reproduced from the page side so we could have a JS test under inspector-protocol instead?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Let's ditch this check, or replace with `CHECK()`, or, better, pass Element& instead.
Done
void InspectorCSSAgent::DidInvalidateStyleAttr(Node* node) {Any idea why this is a `Node`, not `Element`? Nodes are not supposed to have attributes, are they?
Done
If we get rid of this, we can assume a non-null Element (or, as above, just pass by reference).
Done
// Regression test: a CSSOM-driven inline style mutation (e.g.Any chance this can be reproduced from the page side so we could have a JS test under inspector-protocol instead?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |