Changeset 220910 in webkit


Ignore:
Timestamp:
Aug 18, 2017 1:58:34 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Show controls if a video element isn't allowed to play inline.
https://bugs.webkit.org/show_bug.cgi?id=141705

Patch by Ms2ger <Ms2ger@gmail.com> on 2017-08-18
Reviewed by Xabier Rodriguez-Calvar.

Source/WebCore:

Test: covered by media/video-fullscreeen-only-controls.html [sic].

  • Modules/mediacontrols/mediaControlsGtk.js:

(ControllerGtk.prototype.shouldHaveControls):

LayoutTests:

  • platform/gtk/TestExpectations: enable test for this case.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r220901 r220910  
     12017-08-18  Ms2ger  <Ms2ger@gmail.com>
     2
     3        [GTK] Show controls if a video element isn't allowed to play inline.
     4        https://bugs.webkit.org/show_bug.cgi?id=141705
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        * platform/gtk/TestExpectations: enable test for this case.
     9
    1102017-08-17  Wenson Hsieh  <wenson_hsieh@apple.com>
    211
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r220851 r220910  
    920920webkit.org/b/141699 fast/attachment/attachment-respects-css-size.html [ ImageOnlyFailure ]
    921921
    922 webkit.org/b/141705 media/video-fullscreeen-only-controls.html [ Failure ]
    923 
    924922webkit.org/b/141831 svg/animations/animate-text-nested-transforms.html [ Failure ]
    925923webkit.org/b/98653  svg/text/lengthAdjust-text-metrics.html [ Failure ]
  • trunk/Source/WebCore/ChangeLog

    r220905 r220910  
     12017-08-18  Ms2ger  <Ms2ger@gmail.com>
     2
     3        [GTK] Show controls if a video element isn't allowed to play inline.
     4        https://bugs.webkit.org/show_bug.cgi?id=141705
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        Test: covered by media/video-fullscreeen-only-controls.html [sic].
     9
     10        * Modules/mediacontrols/mediaControlsGtk.js:
     11        (ControllerGtk.prototype.shouldHaveControls):
     12
    1132017-08-18  Zan Dobersek  <zdobersek@igalia.com>
    214
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsGtk.js

    r195511 r220910  
    5757    shouldHaveControls: function()
    5858    {
     59        if (!this.isAudio() && !this.host.allowsInlineMediaPlayback)
     60            return true;
     61
    5962        return this.video.controls || this.isFullScreen();
    6063    },
Note: See TracChangeset for help on using the changeset viewer.