<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[168467] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/168467">168467</a></dd>
<dt>Author</dt> <dd>calvaris@igalia.com</dd>
<dt>Date</dt> <dd>2014-05-08 03:28:37 -0700 (Thu, 08 May 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>[GTK] Enable skipped http/tests/media/hls/video-controls-live-stream.html
https://bugs.webkit.org/show_bug.cgi?id=132329
Reviewed by Eric Carlson.
Source/WebCore:
GTK port needed to define what happened with live stream media
controls. Now we disable and dim the timeline and tweak the
timers.
Test: http/tests/media/hls/video-controls-live-stream.html.
* Modules/mediacontrols/mediaControlsGtk.js:
(ControllerGtk.prototype.configureControls): Moved logic from
setControlsType and changed to use an early return.
(ControllerGtk.prototype.reconnectControls): Redefined to just
configure the controls.
(ControllerGtk.prototype.handlePlay): If stream is live we don't
activate the current time just in case.
(ControllerGtk.prototype.updateDuration): Calls the superclass and
sets timeline.max to 0.
(ControllerGtk.prototype.setControlsType): Deleted.
(ControllerGtk.prototype.setIsLive): Configures controls and
disables the timeline if stream is live.
* css/mediaControlsGtk.css:
(audio::-webkit-media-controls-timeline[disabled])
(video::-webkit-media-controls-timeline[disabled]): Dimmed the
timeline by setting opacity to 0.3.
LayoutTests:
Tweaked test, created GTK results, unskipped in GTK and moved the
current general expectations to be mac only.
* http/tests/media/hls/video-controls-live-stream-expected.txt:
Moved.
* http/tests/media/hls/video-controls-live-stream.html: Dump tree
and check status of the timelime.
* media/media-controls.js:
(dumpMediaControlsTree): Added to dump the shadow dom tree.
* platform/gtk/TestExpectations: Unskipped video-controls-live-stream.
* platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt: Added.
* platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt:
Moved from
LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt
and rebaselined.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestshttptestsmediahlsvideocontrolslivestreamhtml">trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html</a></li>
<li><a href="#trunkLayoutTestsmediamediacontrolsjs">trunk/LayoutTests/media/media-controls.js</a></li>
<li><a href="#trunkLayoutTestsplatformgtkTestExpectations">trunk/LayoutTests/platform/gtk/TestExpectations</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesmediacontrolsmediaControlsGtkjs">trunk/Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js</a></li>
<li><a href="#trunkSourceWebCorecssmediaControlsGtkcss">trunk/Source/WebCore/css/mediaControlsGtk.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/platform/gtk/http/tests/media/hls/</li>
<li><a href="#trunkLayoutTestsplatformgtkhttptestsmediahlsvideocontrolslivestreamexpectedtxt">trunk/LayoutTests/platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt</a></li>
<li>trunk/LayoutTests/platform/mac/http/tests/media/</li>
<li>trunk/LayoutTests/platform/mac/http/tests/media/hls/</li>
<li><a href="#trunkLayoutTestsplatformmachttptestsmediahlsvideocontrolslivestreamexpectedtxt">trunk/LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestshttptestsmediahlsvideocontrolslivestreamexpectedtxt">trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/LayoutTests/ChangeLog        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2014-05-08 Xabier Rodriguez Calvar <calvaris@igalia.com>
+
+ [GTK] Enable skipped http/tests/media/hls/video-controls-live-stream.html
+ https://bugs.webkit.org/show_bug.cgi?id=132329
+
+ Reviewed by Eric Carlson.
+
+ Tweaked test, created GTK results, unskipped in GTK and moved the
+ current general expectations to be mac only.
+
+ * http/tests/media/hls/video-controls-live-stream-expected.txt:
+ Moved.
+ * http/tests/media/hls/video-controls-live-stream.html: Dump tree
+ and check status of the timelime.
+ * media/media-controls.js:
+ (dumpMediaControlsTree): Added to dump the shadow dom tree.
+ * platform/gtk/TestExpectations: Unskipped video-controls-live-stream.
+ * platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt: Added.
+ * platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt:
+ Moved from
+ LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt
+ and rebaselined.
+
</ins><span class="cx"> 2014-05-08 Mihnea Ovidenie <mihnea@adobe.com>
</span><span class="cx">
</span><span class="cx"> [CSS Regions] Content overflowing a fixed positioned region is clipped
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsmediahlsvideocontrolslivestreamexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream-expected.txt        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-
-EVENT(play)
-EXPECTED (video.duration == 'Infinity') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-rewind-button") == 'null') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-play-button") != 'null') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-status-display") != 'null') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-timeline") == 'null') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-current-time-display") == 'null') OK
-EXPECTED (mediaControlsElement(controls, "-webkit-media-controls-remaining-time-display") == 'null') OK
-END OF TEST
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsmediahlsvideocontrolslivestreamhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/LayoutTests/http/tests/media/hls/video-controls-live-stream.html        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -17,12 +17,11 @@
</span><span class="cx"> testExpected('video.duration', Infinity);
</span><span class="cx">
</span><span class="cx"> controls = internals.shadowRoot(video).firstChild.firstChild;
</span><del>- testExpected('mediaControlsElement(controls, "-webkit-media-controls-rewind-button")', null);
- testExpected('mediaControlsElement(controls, "-webkit-media-controls-play-button")', null, '!=');
- testExpected('mediaControlsElement(controls, "-webkit-media-controls-status-display")', null, '!=');
- testExpected('mediaControlsElement(controls, "-webkit-media-controls-timeline")', null);
- testExpected('mediaControlsElement(controls, "-webkit-media-controls-current-time-display")', null);
- testExpected('mediaControlsElement(controls, "-webkit-media-controls-remaining-time-display")', null);
</del><ins>+ dumpMediaControlsTree(controls);
+
+ timeline = mediaControlsElement(controls, "-webkit-media-controls-timeline");
+ test('timeline == null || timeline.disabled', false);
+
</ins><span class="cx"> endTest();
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsmediamediacontrolsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/media/media-controls.js (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/media-controls.js        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/LayoutTests/media/media-controls.js        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -19,6 +19,25 @@
</span><span class="cx"> return null;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+function dumpMediaControlsTree(first)
+{
+ for (var element = first; element; element = element.nextSibling) {
+ // Not every element in the media controls has a shadow pseudo ID, eg. the
+ // text nodes for the time values, so guard against exceptions.
+ try {
+ var pseudo = internals.shadowPseudoId(element);
+ if (pseudo == "")
+ pseudo = "none";
+ consoleWrite(pseudo + ": classes: [" + element.classList + "]");
+ } catch (exception) { }
+
+ if (element.firstChild)
+ dumpMediaControlsTree(element.firstChild);
+ }
+
+ return null;
+}
+
</ins><span class="cx"> function mediaControlsButtonCoordinates(element, id)
</span><span class="cx"> {
</span><span class="cx"> var controlID = "-webkit-media-controls-" + id;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/TestExpectations (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/TestExpectations        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/LayoutTests/platform/gtk/TestExpectations        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -411,9 +411,6 @@
</span><span class="cx"> webkit.org/b/131347 fast/borders/hidpi-border-image-gradient-on-subpixels.html [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/131347 fast/borders/hidpi-rounded-border-on-subpixel-position.html [ ImageOnlyFailure ]
</span><span class="cx">
</span><del>-# No HLS support
-http/tests/media/hls [ Skip ]
-
</del><span class="cx"> #////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> # End of Expected failures
</span><span class="cx"> #////////////////////////////////////////////////////////////////////////////////////////
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkhttptestsmediahlsvideocontrolslivestreamexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt (0 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt         (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+
+EVENT(play)
+EXPECTED (video.duration == 'Infinity') OK
+-webkit-media-text-track-container: classes: [hidden]
+-webkit-media-controls-enclosure: classes: []
+-webkit-media-controls-panel: classes: [paused]
+-webkit-media-controls-play-button: classes: [paused]
+-webkit-media-controls-timeline: classes: []
+-webkit-media-controls-current-time-display: classes: [hour-long-time]
+-webkit-media-controls-time-remaining-display: classes: [hour-long-time hidden]
+-webkit-media-controls-toggle-closed-captions-button: classes: [hidden]
+-webkit-media-controls-fullscreen-button: classes: []
+none: classes: [mute-box]
+-webkit-media-controls-mute-button: classes: []
+-webkit-media-controls-volume-slider-container: classes: [volume-box hiding]
+-webkit-media-controls-volume-slider: classes: []
+TEST(timeline == null || timeline.disabled) OK
+END OF TEST
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmachttptestsmediahlsvideocontrolslivestreamexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt (0 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt         (rev 0)
+++ trunk/LayoutTests/platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+
+EVENT(play)
+EXPECTED (video.duration == 'Infinity') OK
+-webkit-media-text-track-container: classes: [hidden]
+-webkit-media-controls-panel: classes: [paused]
+-webkit-media-controls-play-button: classes: [paused]
+-webkit-media-controls-status-display: classes: []
+none: classes: [mute-box]
+-webkit-media-controls-volume-slider-container: classes: [volume-box]
+-webkit-media-controls-volume-slider: classes: []
+-webkit-media-controls-mute-button: classes: []
+-webkit-media-controls-toggle-closed-captions-button: classes: [hidden]
+-webkit-media-controls-fullscreen-button: classes: []
+TEST(timeline == null || timeline.disabled) OK
+END OF TEST
+
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/Source/WebCore/ChangeLog        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -1,3 +1,33 @@
</span><ins>+2014-05-08 Xabier Rodriguez Calvar <calvaris@igalia.com>
+
+ [GTK] Enable skipped http/tests/media/hls/video-controls-live-stream.html
+ https://bugs.webkit.org/show_bug.cgi?id=132329
+
+ Reviewed by Eric Carlson.
+
+ GTK port needed to define what happened with live stream media
+ controls. Now we disable and dim the timeline and tweak the
+ timers.
+
+ Test: http/tests/media/hls/video-controls-live-stream.html.
+
+ * Modules/mediacontrols/mediaControlsGtk.js:
+ (ControllerGtk.prototype.configureControls): Moved logic from
+ setControlsType and changed to use an early return.
+ (ControllerGtk.prototype.reconnectControls): Redefined to just
+ configure the controls.
+ (ControllerGtk.prototype.handlePlay): If stream is live we don't
+ activate the current time just in case.
+ (ControllerGtk.prototype.updateDuration): Calls the superclass and
+ sets timeline.max to 0.
+ (ControllerGtk.prototype.setControlsType): Deleted.
+ (ControllerGtk.prototype.setIsLive): Configures controls and
+ disables the timeline if stream is live.
+ * css/mediaControlsGtk.css:
+ (audio::-webkit-media-controls-timeline[disabled])
+ (video::-webkit-media-controls-timeline[disabled]): Dimmed the
+ timeline by setting opacity to 0.3.
+
</ins><span class="cx"> 2014-05-08 Ion Rosca <rosca@adobe.com>
</span><span class="cx">
</span><span class="cx"> [CSS Blending] Changing isolation CSS property should not trigger repaint in RenderStyle::changeRequiresLayerRepaint
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediacontrolsmediaControlsGtkjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -54,6 +54,20 @@
</span><span class="cx"> this.controls.enclosure.appendChild(this.controls.panel);
</span><span class="cx"> },
</span><span class="cx">
</span><ins>+ configureControls: function() {
+ if (this.controls.configured)
+ return;
+
+ this.configureInlineControls();
+ this.controls.configured = true;
+ this.addControls();
+ },
+
+ reconnectControls: function()
+ {
+ this.configureControls();
+ },
+
</ins><span class="cx"> setStatusHidden: function(hidden)
</span><span class="cx"> {
</span><span class="cx"> },
</span><span class="lines">@@ -88,6 +102,8 @@
</span><span class="cx"> {
</span><span class="cx"> Controller.prototype.handlePlay.apply(this, arguments);
</span><span class="cx"> this.showCurrentTime();
</span><ins>+ if (!this.isLive)
+ this.showCurrentTime();
</ins><span class="cx"> },
</span><span class="cx">
</span><span class="cx"> handleTimeUpdate: function(event)
</span><span class="lines">@@ -126,15 +142,19 @@
</span><span class="cx"> this.updateVolume();
</span><span class="cx"> },
</span><span class="cx">
</span><del>- setControlsType: function(type)
</del><ins>+ updateDuration: function()
</ins><span class="cx"> {
</span><del>- if (!this.controls.configured) {
- this.configureInlineControls();
- this.controls.configured = true;
- this.addControls();
- }
</del><ins>+ Controller.prototype.updateDuration.apply(this, arguments);
+ if (this.isLive)
+ this.controls.timeline.max = 0;
</ins><span class="cx"> },
</span><span class="cx">
</span><ins>+ setIsLive: function(live)
+ {
+ Controller.prototype.setIsLive.apply(this, arguments);
+ this.controls.timeline.disabled = this.isLive;
+ },
+
</ins><span class="cx"> updatePlaying: function()
</span><span class="cx"> {
</span><span class="cx"> Controller.prototype.updatePlaying.apply(this, arguments);
</span></span></pre></div>
<a id="trunkSourceWebCorecssmediaControlsGtkcss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/mediaControlsGtk.css (168466 => 168467)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/mediaControlsGtk.css        2014-05-08 08:42:44 UTC (rev 168466)
+++ trunk/Source/WebCore/css/mediaControlsGtk.css        2014-05-08 10:28:37 UTC (rev 168467)
</span><span class="lines">@@ -186,6 +186,10 @@
</span><span class="cx"> outline: none;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+audio::-webkit-media-controls-timeline[disabled], video::-webkit-media-controls-timeline[disabled] {
+ opacity: 0.3;
+}
+
</ins><span class="cx"> audio::-webkit-media-controls-volume-slider-container, video::-webkit-media-controls-volume-slider-container {
</span><span class="cx"> -webkit-appearance: media-volume-slider-container;
</span><span class="cx"> display: -webkit-flex;
</span></span></pre>
</div>
</div>
</body>
</html>