[whatwg] [WebSRT] the outline use case

Hi,

In the case where the video is changing quickly (and espescially the
colors behind the subtitles), having a "constant" contrast helps the
reader. This can be achieved by adding a background to the text. There
are couple of examples of this in the use case page
(http://wiki.whatwg.org/wiki/Use_cases_for_timed_tracks_rendered_over_video_by_the_UA),
like the one with the text "children of my age, when they were growing up".

However, in contexts where there is a lot of text, the background of the
text will hide a big part of the video. A way to have a more discrete
"constant contrast" could be to have a text outline. For instance, a
white text outlined in black. There are actually couple of these in the
use case page (like the image with Keanu Reeves).

After a quick investigation, text outline can be achieved by using
text-shadow (examples :
http://www.w3.org/Style/Examples/007/text-shadow#outline) or even the
CSS3 text-outline property
(http://www.w3.org/TR/css3-text/#text-outline). This property is not
implemented anywhere as far as I know. However, webkit implements
text-stroke ( http://webkit.org/blog/85/introducing-text-stroke/) which
seems to do the same thing.

David
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100725/54d59299/attachment.htm>

Received on Sunday, 25 July 2010 05:01:09 UTC