Re: Scrolling as overlap avoidance (Re: Alternative approach to scrolling, with demos)

On Fri, May 9, 2014 at 11:58 AM, Nigel Megitt <nigel.megitt@bbc.co.uk> wrote:
> It's important not to lose the '+padding' detail that Christian mentioned
> - is it possible to ensure that when the background is drawn behind the
> text only its width can be extended by a specified amount, on all lines on
> which it is displayed? This greatly enhances readability by not putting
> the background box edge very close to the text edge.
>
> One way to achieve the 'on all lines' requirement is to use
> box-decoration-break: clone. It may be helpful to see the example of the
> HTML/CSS mapping of the proposed TTML2 feature to add this effect, which
> can be seen at [1]. A mechanism to achieve a similar effect should be
> available in WebVTT, if it isn't already.
>
> [1] https://www.w3.org/wiki/TTML/changeProposal015#box-decoration-break

WebVTT is completely broken in this regard, and has been since the
beginning. I've filed a bug:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25633

Philip

Received on Friday, 9 May 2014 15:10:36 UTC