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
Unexpected non-space characters. Expected DOCTYPE for CSS file #17553
Comments
Added Area-Polymer, Triaged labels. |
Removed Area-Polymer label. |
Hey @gzoechi, by any chance did your example use an html-import instead of a stylesheet import? I get the warning if I try a <link rel="import" href="a.css">, but not if I have <link rel="stylesheet" href="a.css"> We could add some validation in the linter to ensure that the linked files are .html files, though. Added this to the Later milestone. |
This comment was originally written by @zoechi Siggi, |
Added Polymer-P-2 label. |
Removed this from the Later milestone. |
Removed Polymer-P-2 label. |
Removed Polymer-Milestone-Later label. |
This issue has been moved to dart-archive/polymer-dart#139. |
This issue was originally filed by @zoechi
What steps will reproduce the problem?
1.
[Warning from ImportInliner on polymer_ui_elements|example/polymer_ui_splitter.html]:
package:polymer_elements/polymer_flex_layout/polymer_flex_layout.css:1:1: Unexpected non-space characters. Expected DOCTYPE.
2.
3.
What is the expected output? What do you see instead?
CSS files don't need a DOCTYPE
What version of the product are you using? On what operating system?
Dart VM version: 1.3.0-dev.4.1 (Sun Mar 16 11:47:03 2014) on "linux_x64"
Polymer 0.10.0-pre.2
Please provide any additional information below.
The weird thing is I have several CSS files in my project, but this is the only file I get this warning.
I also tried to delete the file and created a new one in DartEditor (copy/paste the content).
css file: https://github.com/ErikGrimes/polymer_elements/blob/master/lib/polymer_flex_layout/polymer_flex_layout.css
The text was updated successfully, but these errors were encountered: