[ttml2] Applicability of tts:rubyPosition

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

== Applicability of tts:rubyPosition ==
TTML2 currently specifies that `tts:rubyPosition` applies to `textContainer` or `text`

CSS `ruby-position` applies to ruby annotations containers, i.e. `ruby` and `rtc`.

Is there a reason for that divergence? I couldn't find any. If there is no specific reason, TTML2 should be aligned to CSS, and the applicability of `tts:rubyPosition` should be `container` or `textContainer`.

```
<span tts:ruby="container">
  <span tts:ruby="base">利用許諾</span>
  <span tts:ruby="text"  tts:rubyPosition="after">ライセンス</span>
</span>
```

becomes

```
<span tts:ruby="container"  tts:rubyPosition="after">
  <span tts:ruby="base">利用許諾</span>
  <span tts:ruby="text">ライセンス</span>
</span>
```

but the following remain unchanged:

```
<span>
  <span tts:ruby="container" tts:rubyAlign="spaceAround">
    <span tts:ruby="baseContainer">
      <span tts:ruby="base">東南</span>
    </span>
    <span tts:ruby="textContainer" tts:rubyPosition="before">
      <span tts:ruby="text">とうなん</span>
    </span>
    <span tts:ruby="textContainer" tts:rubyPosition="after">
      <span tts:ruby="text">たつみ</span>
    </span>
  </span>
  <span>の方角</span>
</span>
```


See also #832

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

Received on Monday, 30 July 2018 20:08:37 UTC