Re: [csswg-drafts] [css-images] object-fit: scale-down should become a flag

Yes, it's basically used in header images. Here you have an example: I think there is some wordpress theme with something similar. And I'm sure I saw people asking about this at stackoverflow.

I disagree that header images should necessary be background images, if they are part of content and not only decorative they should be HTML images. Of course `min-width: 100%` refers to the containing block, but the intrinsic size is used as a minimum thanks to `width: auto`. That's why I explicitly included that, I already know it's the default value. This is not exactly what `cover` does, because `cover` can both upscale or downscale. The point in the aliases would be backwards compatibility between the longhands and the shorthands.

Sorry it seems I misunderstood the reasoning behind your proposal, and I have been spamming this thread longer than planned. So I better stop.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Received on Monday, 3 July 2017 18:56:47 UTC