w3c / event-timing

A proposal for an Event Timing specification.
https://w3c.github.io/event-timing/
Other
44 stars 13 forks source link

Broken references in Event Timing API #137

Open dontcallmedom-bot opened 7 months ago

dontcallmedom-bot commented 7 months ago

While crawling Event Timing API, the following links to other specifications were detected as pointing to non-existing anchors:

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

mmocny commented 3 weeks ago

This was removed as part of the Element Timing -> Paint Timing / LCP refactor (See https://github.com/WICG/element-timing/pull/78).

However, looks like the "get an element" algorithm was not just moved over, but rather replaced with a very simple inline algorithm I think.

I am not sure if we should try to export a definition and make reference to it, or also just replace the algorithm and inline here.

CC @clelland for suggestions / oppinions.

mmocny commented 3 weeks ago

Ah, looks like exposed for paint timing has mostly the same text as the original get-an-element, except it just returns true/false.

(I had expected that this was going to do more, such as limit to TAO only images, or something like that-- but it seems not.)

I will update using the same text as LCP now uses.