https://drafts.csswg.org/css-images-3/#url-metadata
Some file formats require the metadata to be at the end (.webp). I feel it's hostile to ignore the metadata in these files since you cannot change the location, it's part of the image spec. Can we get clarification on whether it should be ignore or not?