W3C home > Mailing lists > Public > public-html@w3.org > November 2014

Re: suggestion for tag set <sarcasm> </sarcasm> pair

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Mon, 3 Nov 2014 22:37:28 +0000
Message-ID: <CA+ri+V=7N7Sxg--SaHFXAibSDjguv2kyRngEhear7iFgY__OtA@mail.gmail.com>
To: "Jukka K. Korpela" <jukka.k.korpela@kolumbus.fi>
Cc: Pradeep Kumar <pradeep.online00@gmail.com>, sam <sdomenic@comcast.net>, HTMLWG WG <public-html@w3.org>
thanks Jukka, appreciate the informal bug reports.

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>

On 3 November 2014 12:32, Jukka K. Korpela <jukka.k.korpela@kolumbus.fi>
wrote:

> 2014-11-03 12:18, Steve Faulkner wrote:
>
>> when you use the <html5-sarcasm> element, default rendering is with an
>> reverse question mark at at start and end.
>>
>
> No, the default rendering is that the markup has no impact: its content is
> rendered as if the tags were not there.
>
> In browsers that support some proposed extensions to HTML, you may have
> the element styled in some particular way. This is a complicated and
> unreliable way of doing something like
>
> <style>
> .sarcasm:before, .sarcasm:after{
> content: "؟"; font-weight: bold; font-size: x-large;
> }
> </style>
>
> when using <span class=sarcasm>...</span>.
>
>  It also has a role=note applied with an aria-label=sarcasm.
>>
>
> You can set attributes to HTML elements in JavaScript. Whether such a
> specific setting is of any help is highly questionable; expressing sarcasm
> that way is about as enigmatic as it is to express it with leading and
> trailing Arabic question marks (which is what “؟” really is; the reversed
> question mark is “⸮”).
>
>  http://stevefaulkner.github.io/5-sarcasm/
>>
>>
> Your techniques do not work in Chrome.
>
> --
> Yucca, http://www.cs.tut.fi/~jkorpela/
>
>
Received on Monday, 3 November 2014 22:38:34 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:11 UTC