Changeset 245396 in webkit
- Timestamp:
- May 16, 2019 6:54:56 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245366 r245396 1 2019-05-16 Ali Juma <ajuma@chromium.org> 2 3 [IntersectionObserver] Regression: No initial observation when nothing else triggers rendering 4 https://bugs.webkit.org/show_bug.cgi?id=197891 5 6 Reviewed by Simon Fraser. 7 8 Add a test where other timers that can schedule rendering updates are disabled, 9 in order to verify that IntersectionObserver is scheduling rendering updates 10 itself. 11 12 * intersection-observer/initial-observation.html: Added. 13 1 14 2019-05-15 Devin Rousso <drousso@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r245393 r245396 1 2019-05-16 Ali Juma <ajuma@chromium.org> 2 3 [IntersectionObserver] Regression: No initial observation when nothing else triggers rendering 4 https://bugs.webkit.org/show_bug.cgi?id=197891 5 6 Reviewed by Simon Fraser. 7 8 Schedule a rendering update whenever a new IntersectionObserver target is added. 9 10 Test: intersection-observer/initial-observation.html 11 12 * page/IntersectionObserver.cpp: 13 (WebCore::IntersectionObserver::observe): 14 1 15 2019-05-16 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebCore/page/IntersectionObserver.cpp
r244182 r245396 159 159 if (!hadObservationTargets) 160 160 document->addIntersectionObserver(*this); 161 document->scheduleRenderingUpdate(); 161 162 } 162 163
Note: See TracChangeset
for help on using the changeset viewer.