- From: Belov, Charles <Charles.Belov@sfmta.com>
- Date: Fri, 31 Aug 2012 00:02:09 +0000
- To: "www-style@w3.org" <www-style@w3.org>
- CC: 'fantasai' <fantasai.lists@inkedblade.net>
I respectfully suggest the following selectors (and apologize if they've already been suggested and rejected):
E:foreign-link(0) an E element being the source anchor of a hyperlink of which the target is not within the current domain The foreign link pseudo-class 4
Question as to distinguishing between same (a) domain, different subdomain and (b) different domain.
---
Domain and protocol as selector, e.g.
http://sfmta.com html {
}
https://sfmta.com html {
}
Or just
sfmta.com html {
}
sfmuni.com html {
}
Although this would probably be most useful in personal style sheets.
Hope this helps,
Charles Belov
SFMTA Webmaster
> -----Original Message-----
> From: fantasai [mailto:fantasai.lists@inkedblade.net]
> Sent: Thursday, August 30, 2012 4:37 PM
> To: www-style@w3.org
> Subject: [CSSWG][selectors4] Updated WD of Selectors Level 4
>
> The CSS WG has published an updated Working Draft of the Selectors Level 4:
>
> http://www.w3.org/TR/selectors4/
>
> Selectors is a pattern-matching syntax for identifying sets of elements in
> a document, and is used e.g. for applying CSS declarations to elements in
> a document tree.
>
> Significant changes since the last Working Draft include:
>
> * the subject indicator now uses ! instead of $
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#subject
> * a section was added on scoped selectors
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#scoping
> * the :lang() pseudo-class now accepts wildcard matches and language
> lists
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#the-lang-pseudo
> * drag-and-drop pseudo-classes were added
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#drag-pseudos
> http://lists.w3.org/Archives/Public/www-style/2012Aug/0387.html
> * a :user-error pseudo-class was added (for :-moz-ui-invalid)
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#user-pseudos
> * the :column() pseudo-class has been replaced with a combinator
> http://www.w3.org/TR/2012/WD-selectors4-20120823/#column-combinator
>
> Feedback is welcome, particularly on the changes.
>
> Please send any comments to this mailing list, <www-style@w3.org>,
> preferably starting a new thread, and please, prefix the subject line with
>
> [selectors4]
>
> (as I did on this message).
>
> For the CSS WG,
> ~fantasai
>
Received on Friday, 31 August 2012 00:07:34 UTC