Wow, there's not only _domain_ specificity, but also HTML _element_ specificity in this quirks list.
// When panning on an Amazon product image, we're either touching on the #magnifierLens element
// or its previous sibling.
auto& element = downcast<Element>(*target);
if (element.getIdAttribute() == "magnifierLens")
return true;
if (auto* sibling = element.nextElementSibling())
return sibling->getIdAttribute() == "magnifierLens";
https://github.com/WebKit/WebKit/blob/3def0062f77b82a46fc40c...