Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-anchor-position] First step of scroll adjustment with overflow:h…
…idden This implements fail-safe for missing nodes referenced from adjustment ids of an anchored transform node. The case may happen - for overflow:hidden scrollers for which we don't create scroll nodes for now; - for adjustment containers that are not painted due to cull rect, etc. We'll use the main-thread calculated adjustment when any node is missing. This is not perfect (e.g. position of anchored may lag behind composited scrolling) but is better than not being anchored or jumping between anchored and not anchored. We may implement better solutions and decide whether to remove this fail-safe (or convert it to CHECK) in the future. Bug: 332331854 Change-Id: I9b9121a173fdc52eeaf2987f3886155f3ea773bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5455174 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1288314}
- Loading branch information