W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: 'transform' style for fullscreen video elements

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 17 Nov 2014 19:07:51 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: Robert O'Callahan <robert@ocallahan.org>, www-style <www-style@w3.org>, Simon Pieters <simonp@opera.com>
Message-ID: <18672C25-5DCE-42A7-8912-A1585216E14A@adobe.com>

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 dont know.

Greetings,
Dirk


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC