support for `background-size`
Pure Java HTML / CSS rendering engine
Status: Beta
Brought to you by:
radkovo
This is a CSS3 property, so I am not sure if you plan to support it. But it will be a good one to support as it is being used widely in combination with media-queries to serve background-images with different resolutions.
Link to definition:
http://dev.w3.org/csswg/css-backgrounds/#the-background-size
Anonymous
Yes, all the background-xxx properties need to be added or updated according to CSS3. We may start with background-size. I'll take a look on it.
That would be great! Thanks for the recent merges and fixes.
I have commited an experimental background-size support. It's ready for testing. However, CSS3 background layers (multiple comma-separated backgrounds for a single element) are not supported yet. This will tak more time since it probably requires extending the API.