Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp

Issue 2911463002: Unify the calculation of main thread offset of sticky element (Closed)
Patch Set: Bug fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
index f548c678f47bed0da4af66b21557fc912cd17f0f..89333a38330073fe298caa9fb3dd868207ae227f 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -374,8 +374,6 @@ TEST_P(ScrollingCoordinatorTest, fastScrollingForStickyPosition) {
EXPECT_EQ(
IntRect(100, 100, 200, 200),
IntRect(constraint.scroll_container_relative_containing_block_rect));
- EXPECT_EQ(IntPoint(100, 100),
- IntPoint(constraint.parent_relative_sticky_box_offset));
}
{
Element* element = document->getElementById("div-tr");
@@ -451,8 +449,6 @@ TEST_P(ScrollingCoordinatorTest, fastScrollingForStickyPosition) {
EXPECT_EQ(
IntRect(100, 100, 200, 200),
IntRect(constraint.scroll_container_relative_containing_block_rect));
- EXPECT_EQ(IntPoint(0, 10),
- IntPoint(constraint.parent_relative_sticky_box_offset));
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698