<?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>129686</bug_id>
          
          <creation_ts>2014-03-04 08:58:56 -0800</creation_ts>
          <short_desc>&lt;audio&gt; element takes space even with display:none</short_desc>
          <delta_ts>2015-02-19 10:41:55 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 7.0</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://jsbin.com/iphonebug/1</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>andreyklinger+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>986834</commentid>
    <comment_count>0</comment_count>
    <who name="">andreyklinger+webkit</who>
    <bug_when>2014-03-04 08:58:56 -0800</bug_when>
    <thetext>Tested on Safari on iOS 7.06

&lt;div style=&quot;border: 1px solid red&quot;&gt;
  a&lt;audio style=&quot;display:none; border: 1px solid green&quot;&gt;&lt;/audio&gt;b
&lt;/div&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1070331</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2015-02-18 21:11:37 -0800</bug_when>
    <thetext>I am neither able to reproduce this issue using the iOS Simulator to simulate an iPhone 5s running iOS 8.1 (12B411) with system WebKit nor using the same simulator device with a debug build of WebKit r180217. That is, the &lt;audio&gt; element is not displayed and takes no visual space such that there is no whitespace between the characters &apos;a&apos; and &apos;b&apos; in the text rendered on the page described by the markup in comment 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1070437</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2015-02-19 10:41:55 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Tested on Safari on iOS 7.06
&gt; 
&gt; &lt;div style=&quot;border: 1px solid red&quot;&gt;
&gt;   a&lt;audio style=&quot;display:none; border: 1px solid green&quot;&gt;&lt;/audio&gt;b
&gt; &lt;/div&gt;

This was fixed in iOS8 when the media element backend was completely rewritten.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>