3 ms·
If JavaScript is disabled it falls back to simply displaying the spoiler. That's a really bad default.
by anonymouz 14y ago
If JavaScript is disabled it falls back to simply displaying the spoiler. That's a really bad default.
- namuol 14y agoSeriously agreed; I would think it at least has CSS fallbacks that black things out.
- DigitalSea 14y agoI submitted a pull request that implements support for blurring in IE versions 4 to 9 with 10 obviously supporting blurring via SVG filter effects which was already implemented. Unless I'm missing a browser here, there should now be no browser that isn't supported.
- anonymouz 14y agoI suppose I am not the only one that browses unknown sites with JavaScript disabled (NoScript). That's what I was thinking about, more so than old browsers.
- DigitalSea 14y agoAh, got you. What would be a suitable fix for this? wrapping the text in an element styled with black text and background then perhaps when you focus on the blacked out text it shows it and when you blur it hides it again? Proof of concept: <span class="teasertext" tabindex="0">this is teaser text</span> .teasertext { background: #000; color: #000; } .teasertext:focus { background: inherit; color: inherit; outline: none; }