[csswg-drafts] resizing images (and perhaps other visual mediums resources) in the "content" property

Zhang-Junzhi has just created a new issue for https://github.com/w3c/csswg-drafts:

== resizing images (and perhaps other visual mediums resources) in the "content" property ==
I read through the [css-content-3](https://drafts.csswg.org/css-content-3/), and I couldn't seem to find out the way to resize images (and other visual mediums resources) in `content`.

Resizing resources in `content` is useful for responsive design, especially when the resource is an SVG image.

Some might suggest `background-image` instead. Right now people can make do with it.

But they are different with each other. A background image shouldn't be used as a method of conveying any information other than sole decoration, and doesn't have alternative text for accessibility, and also doesn't have a fallback feature for information of various types, such as text.

So resizing images (and other visual mediums resources) in `content` is not replaceable.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3021 using your GitHub account

Received on Thursday, 16 August 2018 15:18:42 UTC