diff --git a/build-system/global-configs/canary-config.json b/build-system/global-configs/canary-config.json index 4e697d6811cc..648c7931c5ab 100644 --- a/build-system/global-configs/canary-config.json +++ b/build-system/global-configs/canary-config.json @@ -28,7 +28,6 @@ "hidden-mutation-observer": 1, "intersect-resources": 1, "ios-fixed-no-transfer": 1, - "layoutbox-invalidate-on-scroll": 1, "pump-early-frame": 1, "remove-task-timeout": 0, "swg-gpay-api": 1, diff --git a/build-system/global-configs/prod-config.json b/build-system/global-configs/prod-config.json index 9ac1df3f47b2..bb131a99a8a7 100644 --- a/build-system/global-configs/prod-config.json +++ b/build-system/global-configs/prod-config.json @@ -29,7 +29,6 @@ "hidden-mutation-observer": 1, "intersect-resources": 0.1, "ios-fixed-no-transfer": 0, - "layoutbox-invalidate-on-scroll": 1, "pump-early-frame": 1, "swg-gpay-api": 1, "swg-gpay-native": 1, diff --git a/src/service/resources-impl.js b/src/service/resources-impl.js index 2a905645b848..5fbc91a5fab3 100644 --- a/src/service/resources-impl.js +++ b/src/service/resources-impl.js @@ -312,10 +312,7 @@ export class ResourcesImpl { this.rebuildDomWhenReady_(); - if ( - !this.intersectionObserver_ && - isExperimentOn(this.win, 'layoutbox-invalidate-on-scroll') - ) { + if (!this.intersectionObserver_) { /** @private @const */ this.throttledScroll_ = throttle(this.win, (e) => this.scrolled_(e), 250); diff --git a/tools/experiments/experiments-config.js b/tools/experiments/experiments-config.js index 3a3afdd4c8e8..9279f51e680b 100644 --- a/tools/experiments/experiments-config.js +++ b/tools/experiments/experiments-config.js @@ -261,14 +261,6 @@ export const EXPERIMENTS = [ spec: 'https://github.com/ampproject/amphtml/issues/25428', cleanupIssue: 'https://github.com/ampproject/amphtml/issues/26233', }, - { - id: 'layoutbox-invalidate-on-scroll', - name: - 'Invalidate the cached layoutboxes of elements nested in a scroller ' + - 'after that scroller scrolls.', - spec: 'https://github.com/ampproject/amphtml/issues/24929', - cleanupIssue: 'https://github.com/ampproject/amphtml/issues/25203', - }, { id: 'amp-stream-gallery', name: 'Enables component',