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
Using an external stylesheet with fonts does not work. #18581
Comments
This comment was originally written by robert.w.ha...@gmail.com Looks like I missed the attachments, sorry. Attachments: |
This comment was originally written by robert.w.har...@gmail.com It looks like @font-face is broken. Directly adding the .css file's content to my-element.html doesn't resolve the problem as well! |
Added Area-Polymer, Triaged labels. |
This comment was originally written by nelson.silv...@gmail.com Try adding the .css file's content to dart_polymer_test_external_stylesheet.html |
This comment was originally written by @zoechi One of the answers of http://stackoverflow.com/questions/20026280 shows a workaround. |
This comment was originally written by robert.w.ha...@gmail.com @#4: This does not work. Embedding the file's content into the polymer element won't "parse" the @font-face directive. @#5: Thanks! This works but nevertheless this is a bug :) |
This comment was originally written by nelson.s...@gmail.com The idea was the same as #5. Put the @font-face in a global style directive in the main html (dart_polymer_test_external_stylesheet.html). You can then style your elements using that font-face: :host { But yes, it is still a bug ;) |
This comment was originally written by robert.w.ha...@gmail.com But that would make all text use that font, but I only want the icons to have the font. |
This comment was originally written by blink...@gmail.com It seems to me that it's working in Dartium (i.e. native mode) with polymer-0.10.0-pre.13 but not in the JS version? |
Removed Area-Polymer label. |
This comment was originally written by @zoechi There is a discussion going on about this Polymer/old-docs-site#434 |
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. |
This issue has been moved to dart-archive/polymer-dart#174. |
This issue was originally filed by robert.w.ha...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect the icon to show up
What version of the product are you using? On what operating system?
Windows 7, Latest Version of Dart Editor and SDK.
The text was updated successfully, but these errors were encountered: