Indeed, gif and webp are not the same and it makes no sense to copy
the bad things from gif. Handling of gif quirks should be left to
converters, webp is well defined and no additional flag, an "I am
sure" flag, is needed.
Handling of animations that are too fast can be a problem, but it is a
different problem than handling frames with 0 delay. Also the
solutions should be different. Slowing down fast animation can be
acceptable, but skipping frames would make more sense. On the other
hand, converting a 0-delay frame (which is not really a frame
according to the standard) to an actual frame is just wrong.
Let's no follow gif into the sad place it is now. It is *crucial* that
the webp spec and the one software that everyone will use to test
their webps against (Chrome) are in sync. It is Chrome that will
decide the future of webp. If it slows down fast webps like it slows
down fast gifs, people (using software made by lazy software authors)
will start relying on that feature and produce invalid webp files.
Once this happens, it will be too late to fix Chrome. If it converts
images with 0-delay frames into actual animations, people will again
start relying on that feature and the spec will mean nothing. Gone
will be optimization opportunities this feature offers for some
animations, gone will be the unexpected ability to combine lossless
and lossy in one frame...
Since webp animations are exceptionally rare now, there is still time
to fix this and not break anything. Chrome can (and should) be as
strict as it wants when treating webp files that are too fast. Simply
not displaying (or not animating) them would be better for the future
than slowing them down, because that will actually make the people
producing them produce them correctly. Simply not showing/animating
webp images with 0-delay frames would also be better than slowing them
down.
Microsoft learned this lesson the hard way with the Win32 API.
Documentation is nice, but the behavior of real software rules.
V.