Contact emails
Spec
https://drafts.csswg.org/selectors-4/#the-any-link-pseudo
Design Doc
Link for the design document is currently pending.
Link to TAG review: https://github.com/w3ctag/design-reviews/issues/219
Summary
CSS Selectors 4 will be introducing the hyperlink pseudo-class :any-link.
Motivation
The motivation for implementing :any-link is to remove the need for the vendor-specific prefix to the :-webkit-any-link selector, which is currently implemented in Chrome, and improve interoperability. Safari and Firefox already implement :any-link, so implementing this in Chrome should further encourage Edge to implement it also.
Browsers Referenced
Browser | Version | Operating System |
Chrome | 62 | Debian Linux |
Firefox | 57 | Windows 10 |
Safari | 11 | macOS High Sierra |
Edge | 16 | Windows 10 |
Risks
Interoperability and Compatibility
There should be very low interoperability risk for the :any-link selector as Safari and Firefox are already implementing it. Chrome also currently implements similar functionality through the selector :-webkit-any-link. Edge would then be further influenced to also implement this feature, as it is the only major browser that does not yet support this feature.
The compatibility risk of this feature should also be low, as the feature is already implemented under a different selector name. The risk will be reevaluated prior to shipping.
Comparison between browsers and their implementations of some of these features can be found here.
Ergonomics
N/A
Activation
It should not be challenging for developers to use this feature once it is implemented.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Feature Dashboard Link
The feature dashboard link for :any-link is: https://www.chromestatus.com/features/5724922840088576
Requesting approval to ship?
No.
Can also be viewed at:
https://docs.google.com/document/d/1IKqbjtmEOd1R8ngSifl_JBAxh0-9kk0FWoHB1jB04F8/edit?ts=5a20b609
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c1fcc0af-7a31-49e4-9c04-f0c19fbdfca1%40chromium.org.
There's literally a single reftest for this selector in Gecko[1] (d'oh),
but it's a nice one because it tests the dynamic change handling for it.
WebKit has two tests: LayoutTests/fast/selectors/any-link-basics.html
and LayoutTests/fast/selectors/any-link-basics-2.html.
Getting all those into WPT would be awesome! Let me know if you upstream
the Gecko one so I can remove it from the reftest suite when it gets
imported.
Thanks!
-- Emilio
[1]:
https://searchfox.org/mozilla-central/source/layout/reftests/bugs/1364335.html
On 12/01/2017 02:48 PM, 'Philip Jägenstedt' via blink-dev wrote:
> Sounds great! Despite two existing implementations there don't seem to
> be any tests in web-platform-tests. Perhaps there are tests in Gecko or
> WebKit that can be converted and upstreamed?
>
> On Fri, Dec 1, 2017 at 3:56 AM 'Victoria Su' via blink-dev
> <blin...@chromium.org <mailto:blin...@chromium.org>> wrote:
>
> Contact emails
>
> victor...@google.com <mailto:victor...@google.com>
>
>
> Spec
>
> https://drafts.csswg.org/selectors-4/#the-any-link-pseudo
>
>
> Design Doc
>
> Link for the design document is currently pending.
>
> Link to TAG review: https://github.com/w3ctag/design-reviews/issues/219
>
>
> Summary
>
> CSS Selectors 4 will be introducing the hyperlink pseudo-class
> :any-link.
>
>
> Motivation
>
> The motivation for implementing :any-linkis to remove the need for
> the vendor-specific prefix to the :-webkit-any-linkselector, which
> <https://docs.google.com/spreadsheets/d/1XaZYLbg20tcrCIYhqIHh3aij2n75SyYs2natwac8K0s/edit?usp=sharing>.
>
>
> Ergonomics
>
> N/A
>
>
> Activation
>
> It should not be challenging for developers to use this feature once
> it is implemented.
>
>
> Will this feature be supported on all six Blink platforms (Windows,
> Mac, Linux, Chrome OS, Android, and Android WebView)?
>
> Yes.
>
>
> Feature Dashboard <https://www.chromestatus.com/>Link
>
> The feature dashboard link for :any-linkis:
> https://www.chromestatus.com/features/5724922840088576
>
>
> Requesting approval to ship?
>
> No.
>
>
> *Can also be viewed at:*
>
> https://docs.google.com/document/d/1IKqbjtmEOd1R8ngSifl_JBAxh0-9kk0FWoHB1jB04F8/edit?ts=5a20b609*
> *
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "blink-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c1fcc0af-7a31-49e4-9c04-f0c19fbdfca1%40chromium.org
>
> --
> You received this message because you are subscribed to the Google
> Groups "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to blink-dev+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c1fcc0af-7a31-49e4-9c04-f0c19fbdfca1%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9e9e5b55-7031-9ac7-067c-ce0a9ad70796%40chromium.org.
I think this could've been an intent to implement _and_ ship. Do we need to do this behind a flag?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c4f03fd3-0fab-4ea0-835f-444f6fba2cac%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACuPfeRbE3wwX-5F51L1wQO2KwPMBv8NQbe2J4LkMg3ejv8ucA%40mail.gmail.com.