Skip to content

Anchor Link #4672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bolicos opened this issue Jan 15, 2020 · 3 comments
Closed

Anchor Link #4672

bolicos opened this issue Jan 15, 2020 · 3 comments
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. selectors-4 Current Work

Comments

@bolicos
Copy link

bolicos commented Jan 15, 2020

have difference between mouse arrows when anchor link hover with _blank and normal

@emilio
Copy link
Collaborator

emilio commented Jan 15, 2020

How is this different from:

a[target="_blank"]:hover {
    cursor: /* whatever you want */;
}

@tabatkins
Copy link
Member

Yeah, this is already doable with Selectors as far as I can tell.

@tabatkins tabatkins added Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. selectors-4 Current Work labels Jan 16, 2020
@Crissov
Copy link
Contributor

Crissov commented Jan 17, 2020

Some browsers can be configured (possibly with the help of optional extensions) to open a link in a new tab or new window or designated existing one…

  • always
  • when a certain modifier key is held down or a different mouse button is pressed
  • when the destination is considered external (i. e. different scheme, domain, path or generally origin in href)
  • if the destination is or appears to be in a specific file format (e. g. an image or PDF document)
  • depending on the value of the rel attribute

and they can be configured to discard the value of the target attribute, so it is never a necessary nor sufficient indicator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. selectors-4 Current Work
Projects
None yet
Development

No branches or pull requests

4 participants