Don't include Chrome-specific CSS rules in MOZCENTRAL builds
This commit is contained in:
parent
f675bfe178
commit
1b2b6910ac
@ -48,10 +48,12 @@
|
|||||||
|
|
||||||
/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
|
/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
|
||||||
* the problem doesn't show up in "text" reference tests. */
|
* the problem doesn't show up in "text" reference tests. */
|
||||||
|
/*#if !MOZCENTRAL*/
|
||||||
.textLayer span.markedContent {
|
.textLayer span.markedContent {
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
/*#endif*/
|
||||||
|
|
||||||
.textLayer .highlight {
|
.textLayer .highlight {
|
||||||
margin: -1px;
|
margin: -1px;
|
||||||
@ -88,9 +90,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
|
||||||
|
/*#if !MOZCENTRAL*/
|
||||||
.textLayer br::selection {
|
.textLayer br::selection {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
/*#endif*/
|
||||||
|
|
||||||
.textLayer .endOfContent {
|
.textLayer .endOfContent {
|
||||||
display: block;
|
display: block;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user