W3C home > Mailing lists > Public > www-html@w3.org > December 2005

Re: <spoiler> element

From: Devin Bayer <devin@freeshell.org>
Date: Wed, 07 Dec 2005 08:41:15 -0800
Message-ID: <439710AB.9040205@freeshell.org>
To: Oskar Welzl <lists@welzl.info>
CC: Jeremy Rand <jeremy@asofok.org>, www-html@w3.org

Oskar Welzl wrote:
> 
> I have to say, though, that HTML always offered the very generic "show
> this content only when activated by the user"-element:
> <a href="http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2">Click
> here only if you want to read which element it is.</a>
> 
> This is as generic as can be - and as specific as we can allow,
> probably. It is not the sophisticated "show within the current
> page"-solution you want. It does not fully cover all use cases:
> Disturbing medical photos within a scientific text should probably be
> shown right within the paragraph that describes them, not on a separate
> page. But that would be <show-disturbing-medical-pictures>, not just
> <spoiler> ;-)

So, basically, the <spoiler> element is already provided with the XLink
language and the show="embed" attribute.  This is esentialy the equivalent
of <a target="inline">.  See:

http://www.w3.org/TR/2001/REC-xlink-20010627/#show-att

This is much more generic then <spoiler>, which for the most useful
applications is incorrectly named.

-- Devin Bayer
Received on Thursday, 8 December 2005 04:08:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT