Re: [css4-images] element() and <video>

On Tue, Jul 31, 2012 at 9:44 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> Is this
>
>   div { background: element(#video1) repeat; }
>
> supposed to work if #video is some <video> element running movie?
> To work here means that div will show movie(s) at its background.

Yes.  Why do you think it wouldn't work?  The spec is clear about this.

Look at the -moz-element() function that I based the spec off of.
Here's a page showing off some of the things it can do:
http://hacks.mozilla.org/2010/08/mozelement/

~TJ

Received on Wednesday, 1 August 2012 04:53:59 UTC