- From: Jukka K. Korpela <jukka.k.korpela@kolumbus.fi>
- Date: Mon, 03 Nov 2014 14:32:14 +0200
- To: Steve Faulkner <faulkner.steve@gmail.com>
- CC: Pradeep Kumar <pradeep.online00@gmail.com>, sam <sdomenic@comcast.net>, HTMLWG WG <public-html@w3.org>
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 12:32:40 UTC