Re: [csswg-drafts] [selectors-4] Consider respecting border-bottom-style on the :visited selector (#8871)

Yeah, border-bottom is a layout-effecting property, and thus would trivially expose visited state to the page. Our tricks to hide whether or not a link is visited wouldn't be able to work.

In theory we could change the style between the non-none keywords without causing issues, but using border-style to indicate a state is not something I've ever really seen, so I don't think it's worth trying to innovate here. You can already change the color.

(The correct solution is still to restrict visited-ness to a safe subset that we *can* freely expose, then get rid of all this trickery and nonsense trying (and failing) to hide it. But that's a larger issue.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8871#issuecomment-1564790364 using your GitHub account


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

Received on Friday, 26 May 2023 18:46:58 UTC