W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Mar 2015 11:35:00 +0000
To: public-webapps@w3.org
Message-ID: <bug-28332-2927@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:26 UTC