When you throw a picture into the

otherwise working spoiler markdown.

Like this:

>! ![The nicest tux ever.][1]

Then you notice that, surprise, surprise,

The nicest tux ever.

It doesn't work. I.e. the picture is not hidden when the spoiler box is not being hovered over.

  • Spoilerification uses a basic font color CSS trick with :hover.. I'd call this "by design", if I had to guess, since it would've been the simplest and most cross-browser way to do it. – Izkata Jul 31 '12 at 1:58
  • 1
    @Izkata: How can this be "by design". There could easily be a specialisation of .spoiler img {display:none;} as .spoiler:hover img {display:inline;}. – bitmask Jul 31 '12 at 2:02
  • And flickerflickerflicker as the spoiler box keeps changing size. ;) But yeah, there's probably a way to do it that's just not popping into mind. I know there's opacity CSS, but it's not cross-browser, you have to use specific attributes for specific browsers IIRC. – Izkata Jul 31 '12 at 2:22
  • @Izkata: Good point. There was a CSS property that allowed you to tell the user agent not to display something but statically reserve the required space. My CSS is a bit rusty, apparently. – bitmask Jul 31 '12 at 2:33
  • 2
    @bitmask {visibility:hidden;} – user1027 Aug 7 '12 at 14:51
  • @Keen: Exactly! – bitmask Aug 7 '12 at 19:12

the fix will be in the next production build. thanks for the visibility: suggestion.

  • Great. Thanks!_ – bitmask Sep 29 '12 at 8:18
  • In IE 8 I can no longer roll over to see the image. Is this IEs lameness or a change you've made? – AncientSwordRage Oct 2 '12 at 8:02
  • Same thing for FireFox 15.0.1 – DavRob60 Oct 2 '12 at 14:38
  • @Pureferret what version of IE are you using? – Jin Oct 2 '12 at 14:58
  • @Jin I'm in IE 8, like I say above. Version 8.0.6001.18702 to be precise. – AncientSwordRage Oct 2 '12 at 15:05
  • @Pureferret I just checked. It's not IE lameness this time. I messed up on the fix. I just fixed the... fix. It will be in the next prod build sometimes today. Sorry about that. – Jin Oct 2 '12 at 15:08
  • 1
    @Jin no worries, you do an awesome job round here regardless! – AncientSwordRage Oct 2 '12 at 15:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .