w3c / largest-contentful-paint

Specification for the LargestContentfulPaint API
https://w3c.github.io/largest-contentful-paint/
Other
88 stars 16 forks source link

Explain units of size #80

Closed npm1 closed 2 years ago

npm1 commented 3 years ago

Fixes https://github.com/WICG/largest-contentful-paint/issues/76

npm1 commented 3 years ago

ping

yoavweiss commented 3 years ago

Apologies for my slowness...

I'm not sure what "layout units" mean, but that's probably just my ignorance. Can you link to a definition?

npm1 commented 3 years ago

Hmm I can't find a definition that we can link here. Asking around to see if people know of one...

npm1 commented 2 years ago

So dug into the code, it seems the size returned is in DIPs. Changed to reflect that. My editor removed some spaces before EOLs.