[Bug 27162] Browser differences in graphical layout of fullscreen mode.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27162

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
The relevant spec bit here is
https://fullscreen.spec.whatwg.org/#user-agent-level-style-sheet-defaults

> 1. Both Firefox and IE11 resize the CSS size of the element to cover the whole
> screen.

Yes, that's the result of setting top/left/bottom/right all to 0 in the CSS
linked to above, combined with position:fixed and making the CSS viewport size
match the screen size.  This is the correct behavior.

> 3. Firefox and IE11 do not preserve the aspect ratio 

Still correct per above.

>   - Both Firefox or Chrome ignore the margin properties on the element

Correct, because the above says:

  margin:0 !important;

>   - If padding is present, IE11 computes the displayed size differently

Per above, I believe IE's behavior is wrong.  There's no weird padding scaling
going on, just relayout at a size that fills the screen. 

> If a border is present, Firefox and Chrome disagree

This should also be fully defined by the styles above, I'd think.

> Firefox will always display the letterbox area in black color.

This is the area covered by the padding?  This should use the element's
background color if set.  If not set, the backdrop, which is black, will shine
through per above spec.  Do you not see that happening in Firefox?

> 6. Browsers don't agree on what should happen if the content is resized

Should be the same as resizing before; this is a pure dynamic layout effect,
and nothing says you can ignore restyles while it's happening.  Sounds like
Chrome is just buggy here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 24 October 2014 19:27:43 UTC