<?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>88105</bug_id>
          
          <creation_ts>2012-06-01 09:48:19 -0700</creation_ts>
          <short_desc>&quot;display&quot; property value of computed style for audio element without controls is &quot;inline&quot; (not &quot;none&quot;)</short_desc>
          <delta_ts>2022-10-14 05:23:27 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=245611</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>imasaki</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapf</assigned_to>
          <cc>adele</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>feature-media-reviews</cc>
    
    <cc>imasaki</cc>
    
    <cc>jer.noble</cc>
    
    <cc>rniwa</cc>
    
    <cc>silviapf</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>639458</commentid>
    <comment_count>0</comment_count>
    <who name="">imasaki</who>
    <bug_when>2012-06-01 09:48:19 -0700</bug_when>
    <thetext>Copied from http://code.google.com/p/chromium/issues/detail?id=130717


What steps will reproduce the problem?
1. Open attached AudioStyleIssue.html in Web browser.
2. Click &quot;Show information&quot; button.
3. You will see 2 alert boxes with information. First contains information about &lt;audio&gt; element with controls, second contains info about &lt;audio&gt; element without controls.

What is the expected result?

[first alert]
Audio element:
id = audioWithControls
has controls = true
display (CSS value) = inline
visibility (CSS value) = visible

[second alert]
Audio element:
id = audioWithoutControls
has controls = false
display (CSS value) = none
visibility (CSS value) = visible

What happens instead?

[first alert]
Audio element:
id = audioWithControls
has controls = true
display (CSS value) = inline
visibility (CSS value) = visible

[second alert]
Audio element:
id = audioWithoutControls
has controls = false
display (CSS value) = inline
visibility (CSS value) = visible


IE and FF: display property of computed style for audio element without controls is &quot;none&quot;.

Chrome: display property of computed style for audio element without controls is &quot;inline&quot;.

So, this behaviour is different in major browsers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639464</commentid>
    <comment_count>1</comment_count>
    <who name="">imasaki</who>
    <bug_when>2012-06-01 09:50:59 -0700</bug_when>
    <thetext>Test on different browsers/platforms.
Mac 10.7, gc: 19.0.1084.52 and 21.0.1158.0 canary - able to reproduce the issue 
Mac 10.7, safari - able to reproduce the issue 
Win7, 19.0.1084.53 - able to reproduce the issue 
Win7, FF - unable to reproduce the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708545</commentid>
    <comment_count>2</comment_count>
      <attachid>161455</attachid>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-08-30 06:05:14 -0700</bug_when>
    <thetext>Created attachment 161455
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708793</commentid>
    <comment_count>3</comment_count>
      <attachid>161455</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2012-08-30 10:25:14 -0700</bug_when>
    <thetext>Comment on attachment 161455
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=161455&amp;action=review

&gt; Source/WebCore/html/HTMLMediaElement.cpp:4118
&gt; +    if (!isVideo()) {
&gt; +        if (controls())
&gt; +            removeInlineStyleProperty(CSSPropertyDisplay);
&gt; +        else
&gt; +            setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
&gt; +    }

This will change user-applied &apos;display&apos; style. I don&apos;t know if there is any other way to do this, but is it OK?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709164</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapf</who>
    <bug_when>2012-08-30 16:50:44 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 161455 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=161455&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/html/HTMLMediaElement.cpp:4118
&gt; &gt; +    if (!isVideo()) {
&gt; &gt; +        if (controls())
&gt; &gt; +            removeInlineStyleProperty(CSSPropertyDisplay);
&gt; &gt; +        else
&gt; &gt; +            setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
&gt; &gt; +    }
&gt; 
&gt; This will change user-applied &apos;display&apos; style. I don&apos;t know if there is any other way to do this, but is it OK?

Can we add someone else to review this who might know a better way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709839</commentid>
    <comment_count>5</comment_count>
      <attachid>161455</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-08-31 11:32:13 -0700</bug_when>
    <thetext>Comment on attachment 161455
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=161455&amp;action=review

&gt;&gt;&gt; Source/WebCore/html/HTMLMediaElement.cpp:4118
&gt;&gt;&gt; +    }
&gt;&gt; 
&gt;&gt; This will change user-applied &apos;display&apos; style. I don&apos;t know if there is any other way to do this, but is it OK?
&gt; 
&gt; Can we add someone else to review this who might know a better way?

We already do this in HTMLMediaElement::rendererIsNeeded. What&apos;s not happening is triggering the re-evaluation of rendererIsNeeded condition when controls() value changes. This in turn means that we need to re-attach the HTMLAudioElement whenever we call configureMediaControls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716873</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapf</who>
    <bug_when>2012-09-10 23:15:30 -0700</bug_when>
    <thetext>(In reply to comment #5)

I am confused by what you are suggesting. Could you help me understand?


&gt; We already do this in HTMLMediaElement::rendererIsNeeded.

I can&apos;t seem to understand what you mean by &quot;this&quot;. Are you saying that audio elements without @controls already test whether a renderer is required, and have display:none without a @controls attribute? My tests don&apos;t confirm this. All audio elements on a page, with or without @controls, current are display:inline.


&gt; What&apos;s not happening is triggering the re-evaluation of rendererIsNeeded condition when controls() value changes.

My tests show that we have the wrong display value even without JavaScript. A simple
&lt;audio&gt;&lt;/audio&gt; has the wrong display value.

When we create just an object like this:
a = new Audio();
then this object has a display=&quot;&quot;
no matter whether it has or has no @controls attribute.


&gt; This in turn means that we need to re-attach the HTMLAudioElement whenever we call configureMediaControls.

Are you suggesting we destroy the shadow subtree for audio elements that have no @controls attribute and with that set to display:&quot;&quot; ? Then recreate the shadow subtree when the HTMLAudioElement get a @controls attribute again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717243</commentid>
    <comment_count>7</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-09-11 09:10:57 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; 
&gt; I am confused by what you are suggesting. Could you help me understand?

What I did here is suggest a solution to a behavior bug without looking at the actual problem that you&apos;re trying to solve :)

So first, I&apos;ll demonstrate the behavior bug, and then give you the answer to the actual problem at hand :P

Here&apos;s a simple test case: http://jsfiddle.net/xdGtZ/

The key thing to watch for is the red background color of the &lt;div&gt; that encloses the &lt;audio&gt;.

When we start, there&apos;s no &apos;controls&apos; attribute on the &lt;audio&gt;. As you can see, there&apos;s no red in the results pane, telling us that the height of the &lt;div&gt; that encloses the &lt;audio&gt; is 0. This happens because the &lt;audio&gt; itself did not generate a RenderObject (which would in turn inform the intrinsic height of &lt;div&gt;. The HTMLMediaElement::rendererIsNeeded check made sure of this.

Now, click the &quot;Add Controls&quot; button. Immediately, the &lt;audio&gt; inflates in height (and width), and you see the red. The RenderObject for &lt;audio&gt; now exists.

Now, click the &quot;Remove Controls&quot; button. Technically, we should now go back to no RenderObject. However, we can still clearly see the Red, which means the &lt;audio&gt; is still being rendered.

That&apos;s a bug. Anytime the &quot;controls&quot; attribute is added or removed, we must ensure that the styles are recalculated and correct decisions about rendering the box or not are made.

Further, this still does not solve the reported problem. Since we&apos;re not actually changing the styles (we are manipulating directly on RenderObjects), the computed display value stays the same.

Luckily, we just happened to have the right technology in our back pocket. It&apos;s called CSS -- specifically the UA stylesheet and the :not pseudoclass. Just add these lines to mediaControls.css:

audio:not([controls]) {
    display: none;
}

And voila! Everything works just as prescribed. As a bonus, you can now remove all that cruft in HTMLMediaElement::rendererIsNeeded. It&apos;s no longer necessary. Hurray!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717250</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2012-09-11 09:17:08 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Luckily, we just happened to have the right technology in our back pocket. It&apos;s called CSS -- specifically the UA stylesheet and the :not pseudoclass. Just add these lines to mediaControls.css:
&gt; 
&gt; audio:not([controls]) {
&gt;     display: none;
&gt; }
&gt; 
&gt; And voila! Everything works just as prescribed. As a bonus, you can now remove all that cruft in HTMLMediaElement::rendererIsNeeded. It&apos;s no longer necessary. Hurray!

Bravo!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717501</commentid>
    <comment_count>9</comment_count>
    <who name="Silvia Pfeiffer">silviapf</who>
    <bug_when>2012-09-11 13:26:55 -0700</bug_when>
    <thetext>Oh, such an elegant solution - why didn&apos;t I see it! Thanks. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887088</commentid>
    <comment_count>10</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-27 09:57:22 -0700</bug_when>
    <thetext>Updated results from test case present within Chrome bug and changed to JSfiddle:

Link - https://jsfiddle.net/c8btuq0L/show
___

*** Safari 15.6 on macOS 12.5:

[First Alert]
Audio element:
id = audioWithControls
has controls = true
display (CSS value) = inline
visibility (CSS value) = visible

[Second Alert]
Audio element:
id = audioWithoutControls
has controls = false
display (CSS value) = inline &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;----------------- BUG
visibility (CSS value) = visible

*** Firefox Nightly 105:

[First Alert]
Audio element:
id = audioWithControls
has controls = true
display (CSS value) = inline
visibility (CSS value) = visible

[Second Alert]
Audio element:
id = audioWithoutControls
has controls = false
display (CSS value) = none
visibility (CSS value) = visible

*** Chrome Canary 106:

[First Alert]
Audio element:
id = audioWithControls
has controls = true
display (CSS value) = inline
visibility (CSS value) = visible

[Second Alert]
Audio element:
id = audioWithoutControls
has controls = false
display (CSS value) = none
visibility (CSS value) = visible

__________

Plus the bug also exist in the test case from Comment 07 - where adding control make &apos;control&apos; with &quot;Red background&quot; but removing will keep &quot;Red&quot; background.

________

I just wanted to share updated results to confirm that this bug still exist in Safari 15.6 on macOS 12.5. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887216</commentid>
    <comment_count>11</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-27 17:58:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/97694222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905587</commentid>
    <comment_count>12</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-14 05:23:21 -0700</bug_when>
    <thetext>Committed 255528@main (13c796fb7f1d): &lt;https://commits.webkit.org/255528@main&gt;

Reviewed commits have been landed. Closing PR #5304 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>161455</attachid>
            <date>2012-08-30 06:05:14 -0700</date>
            <delta_ts>2012-08-31 11:32:13 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-88105-20120830230502.patch</filename>
            <type>text/plain</type>
            <size>5133</size>
            <attacher name="Silvia Pfeiffer">silviapfeiffer1</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI3MTAzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYmMyMzdmM2YwYWNkNjMy
ZWJkMDBkNGMxODg0NTE4NThiOGE2MzY5NS4uNzFhY2JjNmYzZTMzMDg0YzA4ZTM2NjQzMzIzZjI4
YTI1ZDk3ZjMxOCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDIwIEBACisyMDEyLTA4LTMwICBTaWx2
aWEgUGZlaWZmZXIgIDxzaWx2aWFwZkBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgImRpc3BsYXki
IHByb3BlcnR5IHZhbHVlIG9mIGNvbXB1dGVkIHN0eWxlIGZvciBhdWRpbyBlbGVtZW50IHdpdGhv
dXQgY29udHJvbHMgaXMgImlubGluZSIgKG5vdCAibm9uZSIpCisgICAgICAgIGh0dHBzOi8vYnVn
cy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD04ODEwNQorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFdoZW4gYW4gYXVkaW8gZWxlbWVudCBoYXMgbm8g
Y29udHJvbHMgYXR0cmlidXRlLCBpdCBzaG91bGQgbm90IGJlIHZpc2libGUgb24gdGhlIHBhZ2Uu
CisgICAgICAgIEJlZm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GVuZFRlc3QoKTsKKyAgICB9CisKKyAgICBmdW5jdGlv
biBpbml0KCkKKyAgICB7CisgICAgICAgIGF1ZGlvID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRh
Z05hbWUoImF1ZGlvIilbMF07CisgICAgICAgIGF1ZGlvLmFkZEV2ZW50TGlzdGVuZXIoJ2NhbnBs
YXl0aHJvdWdoJywgdGVzdERpc3BsYXksIGZhbHNlKTsKKyAgICAgICAgYXVkaW8uc3JjID0gZmlu
ZE1lZGlhRmlsZSgnYXVkaW8nLCAnY29udGVudC9zaG9ydCcpOworICAgIH0KKyAgICA8L3Njcmlw
dD4KKzwvaGVhZD4KKzxib2R5IG9ubG9hZD0iaW5pdCgpIj4KKyAgICA8YXVkaW8+PC9hdWRpbz4K
KyAgICA8cD4KKyAgICAgICAgVGhpcyB0ZXN0cyBpZiBhbiBhdWRpbyBmaWxlIHRoYXQgaGFzIG5v
IGNvbnRyb2xzIGlzIGFsd2F5cyBkaXNwbGF5OiBub25lLAorICAgICAgICBpbmNsdWRpbmcgYWZ0
ZXIgc2NyaXB0IHJlbW92YWwgb2YgYXR0cmlidXRlLgorICAgIDwvcD4KKzwvYm9keT4KKzwvaHRt
bD4K
</data>
<flag name="review"
          id="172268"
          type_id="1"
          status="-"
          setter="dglazkov"
    />
          </attachment>
      

    </bug>

</bugzilla>