[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #24243 [Applications/Tor Browser]: Tor Browser only render HTML for local pages via file://, no images/CSS



#24243: Tor Browser only render HTML for local pages via file://, no images/CSS
--------------------------------------+--------------------------
 Reporter:  anonym                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  AffectsTails              |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by cypherpunks):

 Replying to [comment:9 cypherpunks]:
 > IIRC using inline CSS (i.e. internal style sheet `<style>...</style>`)
 works, so why not try that? :)
 I can confirm this, here's a test .html for that:

 {{{
 <html>
 <style>
 @keyframes bouncing-loader {
   from {
     opacity: 1;
     transform: translateY(0);
   }
   to {
     opacity: 0.1;
     transform: translateY(-3rem);
   }
 }
 .bouncing-loader {
   display: flex;
   justify-content: center;
 }
 .bouncing-loader > div {
   width: 2rem;
   height: 2rem;
   margin: 3rem 0.2rem;
   background: #4185aa;
   border-radius: 50%;
   animation: bouncing-loader 0.2s infinite alternate;
 }
 .bouncing-loader > div:nth-child(2) {
   animation-delay: 0.2s;
 }
 .bouncing-loader > div:nth-child(3) {
   animation-delay: 0.4s;
 }
 .bouncing-loader > div:nth-child(4) {
   animation-delay: 0.6s;
 }
 .bouncing-loader > div:nth-child(5) {
   animation-delay: 0.8s;
 }
 .bouncing-loader > div:nth-child(6) {
   animation-delay: 1s;
 }
 .bouncing-loader > div:nth-child(7) {
   animation-delay: 1.2s;
 }
 .bouncing-loader > div:nth-child(8) {
   animation-delay: 1.4s;
 }
 .bouncing-loader > div:nth-child(9) {
   animation-delay: 1.6s;
 }
 .bouncing-loader > div:nth-child(10) {
   animation-delay: 1.8s;
 }
 .bouncing-loader > div:nth-child(11) {
   animation-delay: 2s;
 }
 .bouncing-loader > div:nth-child(12) {
   animation-delay: 2.2s;
 }
 .bouncing-loader > div:nth-child(7) {
   animation-delay: 1.2s;
 }


 </style>

 <body>
 <div class="bouncing-loader">
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
   <div></div>
 </div>
 </body>
 </html>
 }}}

 [[Image(local-css-inline-tb.png)]]

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24243#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs