[css3-selectors] Typo in Selectors

View: New views
3 Messages — Rating Filter:   Alert me  

[css3-selectors] Typo in Selectors

by Nikita Popov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In Section "2. Selectors" there's the Pattern 'E[hfoo|="en"]' which
should be 'E[foo|="en"]'.

And another thing:

html|tr:nth-child(-n+6)  /* represents the 6 first rows of XHTML tables */

I couldn't find out what this "|" does there. Is this another type of
selector? Here again:

html|*:not(:link):not(:visited)

If it is a selector, it isn't well documented, I couldn't find out what
it's supposed to do (some namespace stuff?).

Nikita Popov



Re: [css3-selectors] Typo in Selectors

by Nikita Popov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nikita Popov schrieb:

> In Section "2. Selectors" there's the Pattern 'E[hfoo|="en"]' which
> should be 'E[foo|="en"]'.
>
> And another thing:
>
> html|tr:nth-child(-n+6)  /* represents the 6 first rows of XHTML
> tables */
>
> I couldn't find out what this "|" does there. Is this another type of
> selector? Here again:
>
> html|*:not(:link):not(:visited)
>
> If it is a selector, it isn't well documented, I couldn't find out
> what it's supposed to do (some namespace stuff?).
>
> Nikita Popov
Ah, sorry, I found out the second thing myself. It actually where the
namespaces...

Nikita Popov


Re: [css3-selectors] Typo in Selectors

by Daniel Glazman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nikita Popov a écrit :
> In Section "2. Selectors" there's the Pattern 'E[hfoo|="en"]' which
> should be 'E[foo|="en"]'.

Already fixed in editor's draft. Thanks.

</Daniel>