Open npm1 opened 2 years ago
Related issue (should make sure these APIs behave similarly when tracking similar types of content): https://github.com/WICG/element-timing/issues/56
One interesting compication to take into account: SVG elements behave slightly different than SVG images, in that they can load other images. We should make sure that LCP takes that behavior into account, and considers the SVG image including resources it may have downloaded.
Currently the API only includes
image
inside of SVG. We should include SVG elements as a whole. In order to do this, we'd need to answer some questions: