Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
I left a bunch of specific cases that I think could be given the correct type now.
Additionally, I think that nearly all existing unit test scrolls could be considered absolute.
Overall lgtm.
cc::ScrollSourceType::kNone);
Given this is part of a scroll into view request, it should be absolute right?
cc::ScrollSourceType::kNone, params->behavior,
Same here, as a scroll into view request i think this is absolute.
cc::ScrollSourceType::kNone);
This seems like it would be an absolute scroll - since it's scrolling to the origin.
cc::ScrollSourceType::kNone,
This seems to be intended to be an anchoring stationary scroll.
cc::ScrollSourceType::kNone, mojom::blink::ScrollBehavior::kInstant,
This would be a stationary scroll.
cc::ScrollSourceType::kNone, behavior, ScrollCallback(),
scroll into view is an absolute scroll, right?
cc::ScrollSourceType::kNone,
I suspect this should be an absolute scroll as it's similar to an anchor scroll.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I left a bunch of specific cases that I think could be given the correct type now.
Additionally, I think that nearly all existing unit test scrolls could be considered absolute.
Overall lgtm.
Some of them, like scroll_anchor_test.cc, I assume should be stationary scrolls, but since none of them test scroll direction and scroll type should not affect those tests now, I didn't see the point to go through all and put the correct scroll type there, so I just put `ScrollType::kNone` in almost all of them.
Given this is part of a scroll into view request, it should be absolute right?
It doesn't explicitly say so in spec, but sounds like it should be. Changed, thanks.
Same here, as a scroll into view request i think this is absolute.
Done
This seems like it would be an absolute scroll - since it's scrolling to the origin.
Done
This seems to be intended to be an anchoring stationary scroll.
Done
cc::ScrollSourceType::kNone, mojom::blink::ScrollBehavior::kInstant,
This would be a stationary scroll.
Done
cc::ScrollSourceType::kNone, behavior, ScrollCallback(),
scroll into view is an absolute scroll, right?
It doesn't explicitly say so in spec, but sounds like it should be. Changed, thanks.
I suspect this should be an absolute scroll as it's similar to an anchor scroll.
You mentioned before that kScrollStart scrolls are none scrolls? https://chromium-review.googlesource.com/c/chromium/src/+/6798626/comment/779f8b8a_6f9813a6/
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |