Stop media/video-controls-toggling.html from timing out.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2017 22:17:24 +0000 (22:17 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2017 22:17:24 +0000 (22:17 +0000)
commita149551f83c42cd7fa7d36ef1137a8c2c13af8e5
tree8435cc90f35809e08c3f3f99b33a95bacb4917ea
parenta7d6df4f8eff1988b2c6e84aa59820783aeaced6
Stop media/video-controls-toggling.html from timing out.
https://bugs.webkit.org/show_bug.cgi?id=116266

Patch by Ms2ger <Ms2ger@gmail.com> on 2017-08-21
Reviewed by Dean Jackson.

Use getComputedStyle to check the display property. Element::style only
contains properties set in the style attribute, but the display property
is set through CSS using the 'hidden' class.

* media/video-controls-toggling-expected.txt:
* media/video-controls-toggling.html:
* platform/gtk/TestExpectations:
* platform/gtk/media/video-controls-toggling-expected.txt:
  Copied from LayoutTests/media/video-controls-toggling-expected.txt.
  I'm not sure where the console message comes from, but it seems to
  be in the GTK-specific code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-controls-toggling-expected.txt
LayoutTests/media/video-controls-toggling.html
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/gtk/media/video-controls-toggling-expected.txt [new file with mode: 0644]