hyperframes 0.8.33 → 0.8.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1689,7 +1689,13 @@
1689
1689
  axes && axes !== "normal" ? axes : ""
1690
1690
  }`;
1691
1691
  });
1692
- for (const media of root.querySelectorAll("canvas, video")) {
1692
+ // img shares the same pixel-only-motion blind spot as canvas/video: an
1693
+ // equal-size, equal-position opaque src/visibility swap moves no
1694
+ // geometry and no opacity. mediaPixelHash already handles it generically
1695
+ // (drawImage accepts any CanvasImageSource; width/height fall back to
1696
+ // rect.width/height same as canvas/video), so only the element selector
1697
+ // needed widening.
1698
+ for (const media of root.querySelectorAll("canvas, video, img")) {
1693
1699
  if (!isVisibleElement(media)) continue;
1694
1700
  parts.push(`p:${mediaPixelHash(media)}`);
1695
1701
  }