<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28332</bug_id>
          
          <creation_ts>2015-03-25 11:35:00 +0000</creation_ts>
          <short_desc>Remove any border and padding from fullscreen iframes</short_desc>
          <delta_ts>2015-03-26 03:41:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Fullscreen</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.mozilla.org/show_bug.cgi?id=1147459</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118929</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-03-25 11:35:00 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118936</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-03-25 16:07:52 +0000</bug_when>
    <thetext>https://github.com/whatwg/fullscreen/commit/5103d2e42305f63bd6da65c100313a6d09ec3740</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118944</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-03-26 03:41:49 +0000</bug_when>
    <thetext>Thanks, that was quick!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>