[webvtt] Support <rp> tag (#490)

gkatsev has just created a new issue for https://github.com/w3c/webvtt:

== Support <rp> tag ==
WebVTT supports ruby but it doesn't just defer to the HTML spec for ruby handling and specifies its own handling similar to HTML.
Supporting `<rp>` would make it easier to use ruby in WebVTT because vendors that support it could properly position the ruby above the text and hide the ruby parenthetical and those that don't support it will be just show everything.
Right now, an implementation without ruby support without adding some kind of parenthetical would mean that you may not be able to differentiate between text and ruby text and if a ruby parenthetical is added it'll either show up as part of the ruby text or as part of the text, while not bad, is not ideal.

Output of a ruby with vtt.js
![image](https://user-images.githubusercontent.com/535884/95615697-a3599180-0a36-11eb-9e62-35b8d4c9b3ca.png)

Firefox native:
![image](https://user-images.githubusercontent.com/535884/95615730-aeacbd00-0a36-11eb-92c7-13902577c76c.png)

Chrome native:
![image](https://user-images.githubusercontent.com/535884/95615741-b79d8e80-0a36-11eb-9e5c-b78ff0c6f398.png)

Safari native:
![image](https://user-images.githubusercontent.com/535884/95615753-bcfad900-0a36-11eb-9117-4212f2c70fee.png)



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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 9 October 2020 17:53:30 UTC