libpng is a reference implementation of the PNG format. They don't have to support every third-party extension.
But libpng provides callback methods for "unknown" chucks, so the application can read and handle them. So it's possible to process APNG with libpng.