forked from ampproject/amphtml
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛Intersection Observer Polyfill Mutation Observer - Fixed Race Condit…
…ion (ampproject#19168) * Got a working half-broken page that we can test with * COnfirmed the bug is that the pass isn't long enough * Going to go home. But I learned that it doesn't fire until the child image element is created. * I was doing something * Fixed the polyfill completely * Fixed linting * Fixed all precommit checks * Removed the one-off fandango example * Made PR Changes * Created an onNextPass for resources * Fixed tests for ampdoc * Removed the original getLayoutRect * Removed a dangling opt_calledFromMutationObserver * Made PR Changes * Fixed refresh tests for intersection observer * Removed returns * Fixed some linting errors * Made PR Changes * Fixed linting errors
- Loading branch information
Showing
5 changed files
with
79 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters