Remove some code/comments relevant for old (pre-Chromium) versions of Opera
This commit is contained in:
parent
ed47f77527
commit
7b1418368d
@ -180,7 +180,7 @@ GrabToPan.prototype = {
|
|||||||
|
|
||||||
// Get the correct (vendor-prefixed) name of the matches method.
|
// Get the correct (vendor-prefixed) name of the matches method.
|
||||||
let matchesSelector;
|
let matchesSelector;
|
||||||
["webkitM", "mozM", "oM", "m"].some(function (prefix) {
|
["webkitM", "mozM", "m"].some(function (prefix) {
|
||||||
let name = prefix + "atches";
|
let name = prefix + "atches";
|
||||||
if (name in document.documentElement) {
|
if (name in document.documentElement) {
|
||||||
matchesSelector = name;
|
matchesSelector = name;
|
||||||
|
@ -99,7 +99,6 @@ function getOutputScale(ctx) {
|
|||||||
const backingStoreRatio =
|
const backingStoreRatio =
|
||||||
ctx.webkitBackingStorePixelRatio ||
|
ctx.webkitBackingStorePixelRatio ||
|
||||||
ctx.mozBackingStorePixelRatio ||
|
ctx.mozBackingStorePixelRatio ||
|
||||||
ctx.oBackingStorePixelRatio ||
|
|
||||||
ctx.backingStorePixelRatio ||
|
ctx.backingStorePixelRatio ||
|
||||||
1;
|
1;
|
||||||
const pixelRatio = devicePixelRatio / backingStoreRatio;
|
const pixelRatio = devicePixelRatio / backingStoreRatio;
|
||||||
|
@ -829,7 +829,6 @@ html[dir="rtl"] .splitToolbarButtonSeparator {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
/* Opera does not support user-select, use <... unselectable="on"> instead */
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user