`HTML` icon broken/missing
See original GitHub issueAfter the latest update, 4.2.0
, the new svg version of the html icon doesn’t appear and instead defaults to the fallback “white-paper” icon.
Screenshot
VS Code info
Version: 1.8.0 Commit: 38746938a4ab94f2f57d9e1309c51fd6fb37553d Date: 2016-12-13T17:45:32.595Z Shell: 1.4.6 Renderer: 53.0.2785.143 Node: 6.5.0 Windows Version: 7 Enterprise SP1
DOM
<div class="monaco-icon-label file-icon index-name-file-icon html-ext-file-icon polymer-lang-file-icon explorer-item" title="C:\Repos\omneo-ui\app\index.html">
<a class="label-name">index.html</a>
<span class="label-description empty"></span>
</div>
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
How to hide image broken Icon using only CSS/HTML?
There is no way for CSS/HTML to know if the image is broken link, so you are going to have to use JavaScript...
Read more >Icons broken/missing on Firewall config page - Discussions
The icons on the Firewall page are suddenly broken. Any suggestions? This thread was automatically locked due to age.
Read more >Broken/Missing Vendor Icon - Forum - SolarWinds THWACK
Broken/Missing Vendor Icon ... FYI: The Packeteer vendor Icon appears to be missing or broken. ... The device Icon for my Sofaware equipment...
Read more >773 - Broken/missing/not found images should display ALT text
This is NOT the correct behavior, according to the HTML ... Instead, Chrome displays the "missing image" icon with no text at all....
Read more >42364 - Broken/missing image icon not displayed - Bugzilla@Mozilla
Product: Core ▾. Core. Shared components used by Firefox and other Mozilla software, including handling of Web content; Gecko, HTML, CSS, layout, DOM,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured it out @robertohuertasm. The language ID is overriding the extension icon but the fallback order for a missing icon is wrong.
Since I’m using
language-polymer
and associate all HTML files to that type, it’s trying to give it that icon (but there isn’t one), and instead of falling back to the extension, it falls back to the default icon.Just updated the issue with all that info, actually.