- From: Simon Pieters <simonp@opera.com>
- Date: Thu, 22 Oct 2015 23:03:43 +0200
- To: Philip Jägenstedt <philipj@opera.com>
- Cc: "public-texttracks@w3.org" <public-texttracks@w3.org>
On Thu, 22 Oct 2015 09:53:30 +0200, Philip Jägenstedt <philipj@opera.com> wrote: > On Wed, Oct 21, 2015 at 4:03 PM, Simon Pieters <simonp@opera.com> wrote: >> On Wed, 21 Oct 2015 15:00:30 +0200, Philip Jägenstedt >> <philipj@opera.com> >> wrote: >> >>> Oh, right, as part of "the properties corresponding to the background >>> shorthand." If it's the only problematic property, explicitly >>> excluding it would be fine I think. >> >> >> Yes, but it would disallow data: URLs as background-image as well as >> things >> like CSS gradients, which is too restrictive. Instead I specified that >> URLs >> other than data: URLs just fail to resolve. >> >> https://github.com/w3c/webvtt/commit/9fdff0abcbcfc5024f103ccc8c54ff94162cd27d > > OK, that seems fine. I had never realized it was possible to have > background images in WebVTT until now, but I see that it actually > works. Is there anything useful that could be done with this, given > that you have no idea what the size of the box the background will > apply to is? Well you can also set 'background-size' to set the size relative to the box (e.g. contain or cover). I suppose you could make a speech bubble maybe? -- Simon Pieters Opera Software
Received on Thursday, 22 October 2015 21:04:14 UTC