| Summary: | expand/collapse icons not displaying in editor | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.3 | ||
| Target Milestone: | 0.3 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
As part of the relative-URL work, the expand/collapse icons were changed from <img src=".."> to <img class=".."> with a background-image set by CSS. The problem here seems to be that background-image does not set the <img> element's height & width. (In reply to comment #1) > The problem here seems to be that background-image does not set the <img> > element's height & width. This can be fixed in CSS by setting height & width explicitly (and display:block since apparently inline elements do not support this). The image then appears. Unfortunately I also get a grey line around the image in WebKit and IE. (In reply to comment #2) > Unfortunately I also get a grey line around the image in WebKit and IE. Turns out this is the edge of the "broken image" icon that appears because "src" is not set on <img>. Changing to <div> avoids this. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=25c81032eb75cda19474d8e40d021f13186c888a |