RE: [selectors4] Error in column combinator section?

Thanks.

I think "contrasting" was a bad word to use. But on further thought, it might be good to follow the existing example with one that includes 3 or 4 columns, with multiple spans, where it's not as clear which cells belong to which columns. It's just easier to figure out why something accomplishes what it does if there are differing examples that demonstrate the possible ways to use the selector.

So I'm assuming in your example, the "G" column belongs to the "A/B" spanned column by default, correct? I guess in that case, with that knowledge beforehand, the combinator makes a little more sense and another example might not be necessary.

Louis

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Monday, July 13, 2015 3:38 PM
To: impressive.webs@gmail.com
Cc: www-style list
Subject: Re: [selectors4] Error in column combinator section?

On Tue, Jun 9, 2015 at 10:48 PM, Louis Lazaris <impressive.webs@gmail.com> wrote:
> Hi folks, I think there's an error in the explanation of the Column Combinator, here:
>
> http://www.w3.org/TR/selectors4/#column-combinator
>
> In "Example 53" it says:
>
> "The following example makes cells C, E, and G yellow."
>
> However, there is no "yellow" in the code. Do you mean to say "gray"?

Yup, the example code must have been changed at some point without updating the preceding text.  Fixed now, thanks!

> Also, the purpose of that combinator is really hard to figure out. Is it possible to include a contrasting code example, so it's a little more clear what this combinator accomplishes?

I'm not sure what you mean by "contrasting code example".  There's no alternate way to achieve what the code example achieves.

~TJ


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Received on Thursday, 23 July 2015 09:16:39 UTC