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
Dart Polymer: Root folder of relative paths differs in Dartium and Chrome #18563
Comments
Added Library-Polymer, Triaged labels. |
Added Area-Polymer label. |
This comment was originally written by robin.bakkeru...@gmail.com Besides "href" for stylesheets, the same applies for image "src" tags. Attachment: |
Removed Area-Polymer label. |
Removed Library-Polymer label. |
Removed Priority-Unassigned label. |
Added this to the 1.6 milestone. |
Removed this from the 1.6 milestone. |
Removed Polymer-P-1 label. |
Added PolymerMilestone-Next label. |
Removed Polymer-Milestone-Next label. |
Added this to the 1.6 milestone. |
Set owner to @jakemac53. |
Removed this from the 1.6 milestone. |
I think this is fixed in r38177 (and this is a dupe of 19992) but I still need to confirm. |
Confirmed, I am not able to replicate this issue any longer. Added Fixed label. |
This issue has been moved to dart-archive/polymer-dart#391. |
This issue was originally filed by clds...@gmail.com
What steps will reproduce the problem?
web/
elements/
my_element.css
my_element.dart
my_element.html
<polymer-element name="my-element">
<template>
<link rel="stylesheet" href="my_element.css">
[...]
</template>
</polymer-element>
What is the expected output? What do you see instead?
I get a "404 Not found" error:
Failed to load resource: the server responded with a status of 404 (Not Found)
[...]/web/my_element.css
Changing the path to: <link rel="stylesheet" href="elements/my_element.css">
solves the problem in Dartium, but then the 404-error occurs in Chrome:
Failed to load resource: the server responded with a status of 404 (Not Found)
[...]/web/elements/elements/my_element.css
It seems, that the root folder for realtive paths is different for Dartium and Chrome.
THe expected output would be the same root folder in both scenarios.
What version of the product are you using? On what operating system?
Windows 7, 32-bit; Dart version 1.3.3; Polymer version 0.9.5+2; further packages in use: animation, crypto, intl, quiver.
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: