A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

Behavior of element() images (specifications)

acterhd
2016-07-12

Hello. I think need change of element() for backgrounds. I suggest change behavior:

  • No element(), use paint-source() instead of
  • No apply background images, and etc. usage, so no need recursion detection
  • Use only paint source from picture, img, canvas, video or svg elements
  • Default sizes defined by paint sources
  • Also, paint source can be defined by JS registerPaintSource("name", element)
  • By default paint source from element in DOM by id