[ElementVisibilityObserver] Fix regression with default threshold
https://codereview.chromium.org/2830713003 (r468137, 913ee5fe) changed the default threshold of ElementVisibilityObserver from std::numeric_limits<float>::min() to zero, assuming that they would behave the same. It turns out that there's some confusion here - see https://github.com/WICG/IntersectionObserver/issues/164 - and for now we should continue to use std::numeric_limits<float>::min() to distinguish between completely hidden and partially visible. BUG=726839 Review-Url: https://codereview.chromium.org/2919543002 Cr-Commit-Position: refs/heads/master@{#476265}
Showing
Please register or sign in to comment