Skip to content
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

[0.8] host, port, etc are reserved for anchor elements; let's avoid them #1417

Closed
nevir opened this issue Apr 16, 2015 · 2 comments
Closed

Comments

@nevir
Copy link
Contributor

nevir commented Apr 16, 2015

Ends up causing really funky things to occur if you extend a (such as overwriting the host portion of the linked URL)

Polymer({
  is: 'super-link',
  extends: 'a',
  ready() {
    this.setAttribute('href', '#awesome');
    // When we set `this.host` up the stack, we screw up the href
  },
});
@Punk-UnDeaD
Copy link

in Firefox all ok
but Chrome failed

@sorvell
Copy link
Contributor

sorvell commented May 22, 2015

Fixed in version 0.9

@sorvell sorvell closed this as completed May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants