WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
129686
<audio> element takes space even with display:none
https://bugs.webkit.org/show_bug.cgi?id=129686
Summary
<audio> element takes space even with display:none
andreyklinger+webkit
Reported
2014-03-04 08:58:56 PST
Tested on Safari on iOS 7.06 <div style="border: 1px solid red"> a<audio style="display:none; border: 1px solid green"></audio>b </div>
Attachments
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2015-02-18 21:11:37 PST
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 <audio> element is not displayed and takes no visual space such that there is no whitespace between the characters 'a' and 'b' in the text rendered on the page described by the markup in
comment 0
.
Eric Carlson
Comment 2
2015-02-19 10:41:55 PST
(In reply to
comment #0
)
> Tested on Safari on iOS 7.06 > > <div style="border: 1px solid red"> > a<audio style="display:none; border: 1px solid green"></audio>b > </div>
This was fixed in iOS8 when the media element backend was completely rewritten.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug