[Bug 28332] New: Remove any border and padding from fullscreen iframes

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

            Bug ID: 28332
           Summary: Remove any border and padding from fullscreen iframes
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Fullscreen
          Assignee: annevk@annevk.nl
          Reporter: philipj@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

The spec current has this:

iframe:fullscreen {
  border:none;
}

Until recently, Blink had this:

iframe:-webkit-full-screen {
    border: none !important;
    padding: 0 !important;
}

Removing them found two sites assuming that any border/padding would be ignored
in fullscreen:
https://code.google.com/p/chromium/issues/detail?id=468292#c4
(https://play.google.com/store/movies?hl=en)
https://code.google.com/p/chromium/issues/detail?id=469133#c5
(http://html5-demos.appspot.com/static/fullscreen.html)

Because the border rule is not !important and there is no padding rule, any
site that has some border or padding on iframes must take care to remove them
in fullscreen.

No border and padding will likely be the right thing more often than not, so I
would like for the spec to align with Blink.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 25 March 2015 11:35:02 UTC