WICG / element-timing

A proposal for an Element Timing specification.
https://wicg.github.io/element-timing/
Other
57 stars 15 forks source link

Allow just setting the elementtiming attribute #38

Closed npm1 closed 4 years ago

npm1 commented 4 years ago

For https://github.com/WICG/element-timing/issues/37. When the attribute is set it should trigger observation, even if it is set to the empty string. This is useful because doing something such as <img ... elementtiming> sets the attribute value to the empty string.


Preview | Diff

npm1 commented 4 years ago

Chrome implementation change along with WPT will follow... ptal!

yoavweiss commented 4 years ago

So the use case for this is timing for images, where identification is URL based?

npm1 commented 4 years ago

Yea the use case requested was for images, although I think it should be consistent with text.