Skip to content

Problem with root-relative URLs and the History API #494

Closed
@warpech

Description

In my Polymer Element I have a root-relative link (<a href="/">) which works fine.

Problem starts after changing the page URL using history.pushState to /some/new/url. In result, the link's href property changes to /some/. I would expect the href property to stay intact.

Demo: http://warpech.github.io/test-history-link/

Polymer 0.2.3
Chrome Stable (Web Platform features disabled)
Chrome Canary (Web Platform features enabled)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions