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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>57795</bug_id>
          
          <creation_ts>2011-04-04 15:15:18 -0700</creation_ts>
          <short_desc>HTML5 Player Has no Fullscreen Mode</short_desc>
          <delta_ts>2011-04-05 15:23:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jer Noble">jer.noble</reporter>
          <assigned_to name="Jer Noble">jer.noble</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>379121</commentid>
    <comment_count>0</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-04 15:15:18 -0700</bug_when>
    <thetext>3/31/11 11:23 PM Joe Thompson:
Summary:
The HTML 5 video element no longer has a fullscreen button or can be put into fullscreen programatically as &quot;webkitSupportsFullscreen&quot; always returns false.

Steps to Reproduce:
Using WebKit&apos;s HTML 5 video element with the default Safari controls or using custom ones (such as on Vimeo) and attempt to put it into fullscreen mode.

Expected Results:
Like on Snow Leopard there is a fullscreen button in the default Safari controls or a custom control that enabled the functionality through JavaScript.

Actual Results:
The default Safari controls that have been updated in Lion have no fullscreen button and JavaScript can no longer programatically put the video element into fullscreen.

Regression:
Fullscreen support (required to ensure HTML 5 video elements can be properly used to replace traditional Flash video players) worked on previous versions of Safari on Snow Leopard.

Notes:
N/A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379122</commentid>
    <comment_count>1</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-04 15:15:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/9220025&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379130</commentid>
    <comment_count>2</comment_count>
      <attachid>88142</attachid>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-04 15:27:45 -0700</bug_when>
    <thetext>Created attachment 88142
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379212</commentid>
    <comment_count>3</comment_count>
      <attachid>88142</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-04-04 16:46:19 -0700</bug_when>
    <thetext>Comment on attachment 88142
Patch

Is there an easy way to regression-test this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379603</commentid>
    <comment_count>4</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-05 08:54:27 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 88142 [details])
&gt; Is there an easy way to regression-test this?

Not really; we&apos;d have to convince DRT to answer &quot;false&quot; to supportsFullscreenForNode(), and &quot;true&quot; to supportsFullscreenForElement(), which would break a lot of existing tests on platforms which don&apos;t support the new API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379604</commentid>
    <comment_count>5</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-05 08:54:59 -0700</bug_when>
    <thetext>OTOH, I have a bug which would add support for the new API to WebKitTestRunner, and once that&apos;s fixed, this would be easily regression testable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379607</commentid>
    <comment_count>6</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2011-04-05 08:56:17 -0700</bug_when>
    <thetext>That WebKitTestRunner bug is: bug #56318.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379904</commentid>
    <comment_count>7</comment_count>
      <attachid>88142</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-05 15:23:35 -0700</bug_when>
    <thetext>Comment on attachment 88142
Patch

Clearing flags on attachment: 88142

Committed r82991: &lt;http://trac.webkit.org/changeset/82991&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379905</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-05 15:23:40 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88142</attachid>
            <date>2011-04-04 15:27:45 -0700</date>
            <delta_ts>2011-04-05 15:23:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-57795-20110404152743.patch</filename>
            <type>text/plain</type>
            <size>1395</size>
            <attacher name="Jer Noble">jer.noble</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODI3MzcKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCAwYTgwNTdjZDYzZDgyZjQ3
YjI2N2NiZGVjOGFjOGFkYWNhY2Y4MmJkLi5mODE5OWZkZWE1ZTNkM2NkOGZlN2Q3Mjc1MjVjNTE3
MzIwN2QwMmM0IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvU291
cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTEtMDQtMDQgIEplciBO
b2JsZSAgPGplci5ub2JsZUBhcHBsZS5jb20+CisKKyAgICAg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