Re: [whatwg/fullscreen] Should we apply !important to "object-fit: contain"? (#44)

I didn't realize the intent before, but it looks like this bit of CSS in the existing Blink code (before the top layer rewrite) is to make this work for images, at least images that have a width:height ratio smaller than the screen:
```CSS
img:-webkit-full-screen {
    width: auto;
    height: 100%;
    max-width: 100%;
}
```

`object-fit: contain` will achieve the same thing but also for wide images, so just dropping `!important` sounds OK to me.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/44#issuecomment-232503919

Received on Wednesday, 13 July 2016 22:20:10 UTC