9

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.

6
  • 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
    Commented Jul 31, 2012 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
    Commented Jul 31, 2012 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
    Commented Jul 31, 2012 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
    Commented Jul 31, 2012 at 2:33
  • 2
    @bitmask {visibility:hidden;}
    – user1027
    Commented Aug 7, 2012 at 14:51
  • @Keen: Exactly!
    – bitmask
    Commented Aug 7, 2012 at 19:12

1 Answer 1

5

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

7
  • Great. Thanks!_
    – bitmask
    Commented Sep 29, 2012 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 Mod
    Commented Oct 2, 2012 at 8:02
  • Same thing for FireFox 15.0.1
    – DavRob60
    Commented Oct 2, 2012 at 14:38
  • @Pureferret what version of IE are you using?
    – Jin
    Commented Oct 2, 2012 at 14:58
  • @Jin I'm in IE 8, like I say above. Version 8.0.6001.18702 to be precise.
    – AncientSwordRage Mod
    Commented Oct 2, 2012 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
    Commented Oct 2, 2012 at 15:08
  • 1
    @Jin no worries, you do an awesome job round here regardless!
    – AncientSwordRage Mod
    Commented Oct 2, 2012 at 15:12

You must log in to answer this question.

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