[tor-bugs] #27357 [Applications/Tor Browser]: allow @2x and @2x images to be used on about:tor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Aug 28 13:51:48 UTC 2018
#27357: allow @2x and @2x images to be used on about:tor
--------------------------------------+--------------------------
Reporter: mcs | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+--------------------------
Description changed by mcs:
Old description:
> Currently, we cannot use @2x and @3x images on about:tor. This is because
> when `privacy.resistFingerprinting` is `true` the display density is
> spoofed to always be 1.0, e.g., a selector like the following is never
> activated:
> @media (min-resolution: 2dppx) {
> #search-button {
> background-image:
> url('chrome://torbutton/skin/forwardArrow@2x.png');
> }
> }
>
> We should figure out how to allow an exception for about:tor and other
> internal (but not chrome) pages.
New description:
Currently, we cannot use @2x and @3x images on about:tor. This is because
when `privacy.resistFingerprinting` is `true` the display density is
spoofed to always be 1.0, e.g., a selector like the following is never
activated:
{{{
@media (min-resolution: 2dppx) {
#search-button {
background-image:
url('chrome://torbutton/skin/forwardArrow@2x.png');
}
}
}}}
We should figure out how to allow an exception for about:tor and other
internal (but not chrome) pages.
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27357#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list