Re: 'transform' style for fullscreen video elements

On Nov 17, 2014, at 7:30 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Sun, Nov 16, 2014 at 12:26 PM, Robert O'Callahan
> <robert@ocallahan.org> wrote:
>> Context: https://bugzilla.mozilla.org/show_bug.cgi?id=1099052
>> https://fullscreen.spec.whatwg.org/#user-agent-level-style-sheet-defaults
>> 
>> Chrome has "-webkit-transform: none;" for video elements in its UA
>> stylesheet, though this isn't in the spec. Should we add that to the spec or
>> try to get the Chrome bug fixed?
> 
> I'm fine with putting a UA-level "video:fullscreen { transform: none
> !important; }" into the spec.  It seems to just do what you want, and
> I can't come up with any reason you'd want to transform a fullscreened
> video.

fullscreen.css in WebKit has a bunch of styles (nearly all with !important). The only one for transforms though is:

:-webkit-full-screen-ancestor:not(iframe) {
    -webkit-transform: none !important;
    -webkit-transform-style: flat !important;
    …
}

Additionally it could be hard coded of course but I don’t know.

Greetings,
Dirk


> 
> ~TJ
> 

Received on Monday, 17 November 2014 19:08:22 UTC