mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Backed out 2 changesets (bug 1543810) for failing in browser_togglePointerEventsNone.js CLOSED TREE
Backed out changeset a0c079f40c78 (bug 1543810) Backed out changeset 5aec6172783d (bug 1543810)
This commit is contained in:
parent
95b09298a4
commit
f74e07d847
@ -504,7 +504,7 @@ class PictureInPictureToggleChild extends ActorChild {
|
||||
1,
|
||||
true,
|
||||
false,
|
||||
true
|
||||
false
|
||||
);
|
||||
|
||||
for (let element of elements) {
|
||||
|
@ -3,9 +3,8 @@ support-files =
|
||||
click-event-helper.js
|
||||
head.js
|
||||
test-button-overlay.html
|
||||
test-opaque-overlay.html
|
||||
test-page.html
|
||||
test-pointer-events-none.html
|
||||
test-opaque-overlay.html
|
||||
test-transparent-overlay-1.html
|
||||
test-transparent-overlay-2.html
|
||||
test-video.mp4
|
||||
@ -30,7 +29,6 @@ skip-if = true # Bug 1546455
|
||||
[browser_toggleOnInsertedVideo.js]
|
||||
[browser_toggleOpaqueOverlay.js]
|
||||
skip-if = true # Bug 1546455
|
||||
[browser_togglePointerEventsNone.js]
|
||||
[browser_toggleSimple.js]
|
||||
skip-if = os == 'linux' # Bug 1546455
|
||||
[browser_toggleTransparentOverlay-1.js]
|
||||
|
@ -1,16 +0,0 @@
|
||||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Tests that the Picture-in-Picture toggle is clickable even if the
|
||||
* video element has pointer-events: none.
|
||||
*/
|
||||
add_task(async () => {
|
||||
const PAGE = TEST_ROOT + "test-pointer-events-none.html";
|
||||
await testToggle(PAGE, {
|
||||
"with-controls": { canToggle: true },
|
||||
"no-controls": { canToggle: true },
|
||||
});
|
||||
});
|
@ -1,21 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Picture-in-Picture test - pointer-events: none</title>
|
||||
<script type="text/javascript" src="click-event-helper.js"></script>
|
||||
</head>
|
||||
<style>
|
||||
video {
|
||||
display: block;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
<body>
|
||||
<h1>Video with controls</h1>
|
||||
<video id="with-controls" src="test-video.mp4" controls loop="true"></video>
|
||||
<h1>Video without controls</h1>
|
||||
<video id="no-controls" src="test-video.mp4" loop="true"></video>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user