fix for qt 5.7.1

This commit is contained in:
Slackhead 2018-06-12 11:22:41 +01:00
parent 35a1e118f8
commit 088c7b235d

View File

@ -861,15 +861,11 @@ window._qutebrowser.caret = (function() {
" z-index: 2147483647;" + " z-index: 2147483647;" +
" min-height: 1em;" + " min-height: 1em;" +
" min-width: 0.2em;" + " min-width: 0.2em;" +
" --inherited-color: inherit;" + " background-color: #000;" +
" background-color: var(--inherited-color, #000);" +
" color: var(--inherited-color, #000);" +
" mix-blend-mode: difference;" +
" filter: invert(85%);" +
" animation: blink 1s step-end infinite;" + " animation: blink 1s step-end infinite;" +
"}" + "}" +
"@keyframes blink {" + "@keyframes blink {" +
"50% { visibility: hidden; }" + " 50% { visibility: hidden; }" +
"}"; "}";
const node = document.createElement("style"); const node = document.createElement("style");
node.innerHTML = style; node.innerHTML = style;