<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jer.noble&#64;apple.com" title="Jer Noble &lt;jer.noble&#64;apple.com&gt;"> <span class="fn">Jer Noble</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Controls stop update after hovering for a few seconds"
   href="https://bugs.webkit.org/show_bug.cgi?id=144770">bug 144770</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #253390 Flags</td>
           <td>review?
           </td>
           <td>review+
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Controls stop update after hovering for a few seconds"
   href="https://bugs.webkit.org/show_bug.cgi?id=144770#c27">Comment # 27</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Controls stop update after hovering for a few seconds"
   href="https://bugs.webkit.org/show_bug.cgi?id=144770">bug 144770</a>
              from <span class="vcard"><a class="email" href="mailto:jer.noble&#64;apple.com" title="Jer Noble &lt;jer.noble&#64;apple.com&gt;"> <span class="fn">Jer Noble</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=253390&amp;action=diff" name="attach_253390" title="patchh">attachment 253390</a> <a href="attachment.cgi?id=253390&amp;action=edit" title="patchh">[details]</a></span>
patchh

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=253390&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=253390&amp;action=review</a>

r=me, with nits.

<span class="quote">&gt; Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js:210
&gt; +    controlsAreHidden: function()
&gt; +    {
&gt; +        // Controls are only ever actually hidden when they are removed from the tree
&gt; +        return !this.controls.panelContainer.parentElement;
&gt; +    },
&gt; +</span >

It's unfortunate that we have to duplicate this work in the iOS controls. Can we refactor out this.controls.panelContainer into this.controls.panel, and remove this method?

<span class="quote">&gt; Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js:397
&gt; +    handlePanelTransitionEnd: function(event)
&gt; +    {
&gt; +        var opacity = window.getComputedStyle(this.controls.panel).opacity;
&gt; +        if (!parseInt(opacity) &amp;&amp; !this.controlsAlwaysVisible()) {
&gt; +            this.base.removeChild(this.controls.inlinePlaybackPlaceholder);
&gt; +            this.base.removeChild(this.controls.panelContainer);
&gt; +        }
&gt; +    },
&gt; +</span >

Ditto.

<span class="quote">&gt; Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js:562
&gt; +    showControls: function()
&gt; +    {
&gt; +        this.updateShouldListenForPlaybackTargetAvailabilityEvent();
&gt; +        if (this.showInlinePlaybackPlaceholderOnly())
&gt; +            return;
&gt; +        
&gt; +        this.updateForShowingControls();
&gt; +        if (this.shouldHaveControls()) {
&gt; +            this.base.appendChild(this.controls.inlinePlaybackPlaceholder);
&gt; +            this.base.appendChild(this.controls.panelContainer);
&gt; +        }
&gt; +    },
&gt; +</span >

Ditto.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>