[svgwg] Update UA stylesheet rules to use :any-link instead of :visited or :link (#933)

Ahmad-S792 has just created a new issue for https://github.com/w3c/svgwg:

== Update UA stylesheet rules to use :any-link instead of :visited or :link ==
Hi Team,

This is mirror reference to issue raised in HTML Standard: https://github.com/whatwg/html/issues/10133 , where it is proposed to align all standards with current at least two browsers implementation (Chrome & Safari) to start leveraging `:any-link`:

Currently, the UA stylesheet rules in SVG2 Spec [1] show:

```
:link, :visited {
  cursor: pointer;
}
```
While Chrome has it as:

```
a:-webkit-any-link
```

In Safari as part of PR: https://github.com/WebKit/WebKit/pull/24154, I was trying to use same as web-spec but later it was suggested that it would be better to align all HTML & SVG to have `:any-link`.

[1] https://svgwg.org/svg2-draft/styling.html#UAStyleSheet

I am raising this to align this across the board.

Thanks!

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/933 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 10 February 2024 15:58:46 UTC