Commit 30ee8b0
IntersectionObserver root rect with padding is incorrect if there's overflow clipping.
https://bugs.webkit.org/show_bug.cgi?id=263316
Reviewed by Simon Fraser.
Switch from using contentBoxRect to paddingBoxRect according to discussion in
w3c/IntersectionObserver#504
* LayoutTests/imported/w3c/web-platform-tests/intersection-observer/padding-clip-expected.txt:
* Source/WebCore/page/IntersectionObserver.cpp:
(WebCore::IntersectionObserver::computeIntersectionState const):
Canonical link: https://commits.webkit.org/304296@main1 parent f5a0bda commit 30ee8b0
File tree
2 files changed
+2
-2
lines changed- LayoutTests/imported/w3c/web-platform-tests/intersection-observer
- Source/WebCore/page
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
0 commit comments