[webvtt] Allow more styling (block, padding, rounded corners)

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

== Allow more styling (block, padding, rounded corners) ==
Related bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=25633

Also https://github.com/w3c/webvtt/issues/235#issuecomment-154358031

The styling abilities in WebVTT are pretty limited now, in particular 
it's not possible per spec to achieve e.g. Safari's default rendering,
 nor is it possible to do anything about the background box other than
 changing color or setting a background image.

I think it should be possible to change between inline background and 
block background; set padding, rounded corners, box-decoration-break. 
Maybe even border (probably have to set `box-sizing:border-box` by 
default). But we need to be careful to not screw up the positioning 
algorithm.

See https://github.com/w3c/webvtt/issues/249

Received on Thursday, 12 November 2015 10:47:33 UTC