mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Backed out changeset 954ebee9baae (bug 1816859) for bc failures on browser_togglePolicies.js. CLOSED TREE
This commit is contained in:
parent
fc37f993c4
commit
f800c98231
@ -177,10 +177,6 @@ let AVAILABLE_PIP_OVERRIDES;
|
||||
},
|
||||
},
|
||||
|
||||
reddit: {
|
||||
"https://*.reddit.com/*": { policy: TOGGLE_POLICIES.ONE_QUARTER },
|
||||
},
|
||||
|
||||
sonyliv: {
|
||||
"https://*.sonyliv.com/*": {
|
||||
videoWrapperScriptPath: "video-wrappers/videojsWrapper.js",
|
||||
|
@ -21,9 +21,8 @@ export const TOGGLE_POLICIES = {
|
||||
HIDDEN: 2,
|
||||
TOP: 3,
|
||||
ONE_QUARTER: 4,
|
||||
MIDDLE: 5,
|
||||
THREE_QUARTERS: 6,
|
||||
BOTTOM: 7,
|
||||
THREE_QUARTERS: 5,
|
||||
BOTTOM: 6,
|
||||
};
|
||||
|
||||
// These strings are used in the videocontrols.css stylesheet as
|
||||
@ -34,7 +33,6 @@ export const TOGGLE_POLICY_STRINGS = {
|
||||
[TOGGLE_POLICIES.HIDDEN]: "hidden",
|
||||
[TOGGLE_POLICIES.TOP]: "top",
|
||||
[TOGGLE_POLICIES.ONE_QUARTER]: "one-quarter",
|
||||
[TOGGLE_POLICIES.MIDDLE]: "middle",
|
||||
[TOGGLE_POLICIES.THREE_QUARTERS]: "three-quarters",
|
||||
[TOGGLE_POLICIES.BOTTOM]: "bottom",
|
||||
};
|
||||
|
@ -12,7 +12,6 @@ add_task(async () => {
|
||||
let positionPolicies = [
|
||||
TOGGLE_POLICIES.TOP,
|
||||
TOGGLE_POLICIES.ONE_QUARTER,
|
||||
TOGGLE_POLICIES.MIDDLE,
|
||||
TOGGLE_POLICIES.THREE_QUARTERS,
|
||||
TOGGLE_POLICIES.BOTTOM,
|
||||
];
|
||||
|
@ -58,26 +58,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pip-wrapper[policy="top"] {
|
||||
top: 0%
|
||||
}
|
||||
|
||||
.pip-wrapper[policy="one-quarter"] {
|
||||
top: 25%
|
||||
}
|
||||
|
||||
.pip-wrapper[policy="middle"] {
|
||||
top: 50%
|
||||
}
|
||||
|
||||
.pip-wrapper[policy="three-quarters"] {
|
||||
top: 75%
|
||||
}
|
||||
|
||||
.pip-wrapper[policy="bottom"] {
|
||||
top: 100%
|
||||
}
|
||||
|
||||
.pip-wrapper[medium-video] > .pip-expanded > .pip-icon-label > .pip-label {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user