Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should border-images be considered contentful #107

Open
sohomdatta1 opened this issue Oct 26, 2022 · 2 comments
Open

Should border-images be considered contentful #107

sohomdatta1 opened this issue Oct 26, 2022 · 2 comments

Comments

@sohomdatta1
Copy link

Currently LCP only considers background-images to be contentful elements per the elements-exposed section of the element timing spec.

Given that border-images can explicitly load images from URLs and can have an effect on the paint time if included, would it make sense to classify paints, that paint a border-image as contentful ? (Given that they appear to behave similar to a background-image in most cases)

@yoavweiss
Copy link
Contributor

Intuitively, I'd think that border images' goal is different than background images (more decorative). Might be interesting to look at some examples.

/cc @clelland

@clelland
Copy link
Collaborator

clelland commented Nov 7, 2022

I'll take a look in HTTP Archive to see what real-world uses of this look like, and we'll see if it looks like an avenue for abuse that needs to be addresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants