Intent to Ship :any-link

77 views
Skip to first unread message

Victoria Su

unread,
Dec 6, 2017, 12:58:09 AM12/6/17
to blink-dev

Intent to Ship :any-link


Contact emails

victor...@google.com


Spec

https://drafts.csswg.org/selectors-4/#the-any-link-pseudo

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. This has been implemented in the same way as :-webkit-any-link and with an experimental runtime flag.


“Intent to Implement” blink-dev discussion

https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/blink-dev/dJkNHglu1Z0


Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes.


Risks

Interoperability and Compatibility

There should be very low interoperability risk for the :any-link selector as Safari and Firefox are already shipping it. Chrome also currently implements the functionality through the selector :-webkit-any-link. Edge would then be further influenced to also implement this feature, as it becomes 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 implemented in the same way as :-webkit-any-link.

Comparison between browsers and their implementations of some of the CSS Selectors 4 features can be found here.


Ergonomics

N/A


Activation

It should not be challenging for developers to use this feature once it is implemented.


Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.

This feature will be tested by web platform tests.

My test is in the process of being upstreamed: https://github.com/w3c/web-platform-tests/pull/8560

Emilio also has tests that are in the process of being upstreamed from Gecko that will soon appear here: https://bugzilla.mozilla.org/show_bug.cgi?id=1422319


Feature Dashboard Link

The feature dashboard link for :any-link is: https://www.chromestatus.com/features/5724922840088576


Rune Lillesveen

unread,
Dec 11, 2017, 8:09:43 AM12/11/17
to Victoria Su, blink-dev
Non-owner lgtm. I still think we should consider making :-webkit-any-link an alias. Although, as I understood, there's no scripting machinery for doing for generating this like we currently have for properties.

--
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/775c8380-299d-455e-9f9d-a8b77be22026%40chromium.org.
--
Rune Lillesveen

Daniel Bratell

unread,
Dec 11, 2017, 10:06:33 AM12/11/17
to Victoria Su, Rune Lillesveen, blink-dev
LGTM1 

I have no opinions on how it's implemented but I assume some kind of -webkit-any-link cleanup is associated for code health and to make it easier to (maybe) remove -webkit-any-link in the future.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACuPfeRuRZGNCt1h1vjSBUOOdqe6HnvktRv0pQRk-3zHzZqTsw%40mail.gmail.com.



--
/* Opera Software, Linköping, Sweden: CET (UTC+1) */

Philip Jägenstedt

unread,
Dec 11, 2017, 5:22:52 PM12/11/17
to Daniel Bratell, Victoria Su, Rune Lillesveen, blink-dev

Chris Harrelson

unread,
Dec 13, 2017, 1:17:51 PM12/13/17
to Philip Jägenstedt, Daniel Bratell, Victoria Su, Rune Lillesveen, blink-dev
LGTM3

LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.



--
/* Opera Software, Linköping, Sweden: CET (UTC+1) */

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.

--
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfx0poYGxKaUvRm3bwoi1dasxBt5LcSirBboWAQ-4uTig%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages