W3C home > Mailing lists > Public > www-style@w3.org > February 2021

Re: [css-images] Suggested clarification

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 1 Feb 2021 15:42:21 -0800
To: Steve Comstock <steve@stillpluggingaway.com>, www-style@w3.org
Cc: jackalmage@gmail.com, lea@verou.me
Message-ID: <c6a10e20-83b0-ee21-7761-11926fa05fdb@inkedblade.net>
On 2/1/21 9:33 AM, Steve Comstock wrote:
> Trying to use this document in creating a course
> for HTML / CSS / JavaScript / php. Yes, another
> one.
> Anyway, I have some thoughts on this document and
> the backgrounds and borders document.
> It took me a while to realize that the gradients
> were images, and that they need to be specified
> as part of the 'background' attribute.
> Then it took me some time to find out that 'background'
> is a shorthand for multiple background- attributes.
> So maybe your examples should not just say, for example,
>    linear-gradient(yellow, blue);
> but instead put it in context
>    background: linear-gradient(yellow, blue);
> or
>    background-image: linear-gradient(yellow, blue);
> The 'images' and 'backgrounds' documents should certainly
> cross reference each other.

Hi Steve!

There's cross-references in section 1.1 Module Interactions:

There's examples with background and list-style image at the top of section 3 

The rest of the examples don't use 'background' because we're defining the 
image type in general and gradients, like images in general, are not 
restricted only to background-image, but can also be used in other properties 
that accept images, like list-style-image and border-image.

Received on Monday, 1 February 2021 23:42:42 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:15:16 UTC