[ttml2] tts:textShadow direction depends on writing direction

palemieux has just created a new issue for https://github.com/w3c/ttml2:

== tts:textShadow direction depends on writing direction ==
The direction of the shadows specified by tts:textShadow currently depends on the [writing direction]( https://www.w3.org/TR/ttml2/#style-value-shadow):

>The first <length> term denotes the offset in the inline progression direction of the associated area [...], the second <length> term denotes the offset in the block progression direction of the associated area

This means that, given the style declaration `tts:textShadow="10% 10% white"`, the shadow will appear to the bottom right of `rltb` text and to the bottom left of `tbrl` text.

I would think this is visually inconsistent. It also diverges from CSS (#722), and requires writing direction to be propagated during style computation.

![textshadow](https://user-images.githubusercontent.com/4871350/39550102-041342cc-4e15-11e8-8868-21f500378ef2.png)



Please view or discuss this issue at https://github.com/w3c/ttml2/issues/723 using your GitHub account

Received on Wednesday, 2 May 2018 21:29:47 UTC