Closed Bug 698596 Opened 13 years ago Closed 5 years ago

Replace snippet template <img> tag with a more semantic alternative

Categories

(Snippets Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: osmose, Unassigned)

Details

Using an <img> tag for the snippet icon is not semantic, as it is decorative and not content. An alternative way of displaying the icon is needed.

One possible replacement is that it should be the background-image of a div set to the appropriate size. There is an issue with this approach: How can we set the size of the div (or margin of the snippet text div) with arbitrarily sized images?

Things have changed a lot since this was reported. We're still using img and I don't believe we'll be working on this.

Thanks for reporting!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Snippets → Snippets Graveyard
You need to log in before you can comment on or make changes to this bug.