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

[tor-commits] [snowflake/master] Fix certain attributes to be pixel counts, not CSS dimensions.



commit 1063ef7b1d98947d5d45744c033e1ad800f9b3d0
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Aug 23 21:55:32 2019 -0600

    Fix certain attributes to be pixel counts, not CSS dimensions.
    
    Found these using https://validator.w3.org/.
---
 proxy/static/index.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index fee61dd..9afb56b 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -9,7 +9,7 @@
   <body>
     <div id="header">
       <a href="https://www.torproject.org/";>
-        <img src="tor-logo@xxxxxx" alt="Tor" height="50px" />
+        <img src="tor-logo@xxxxxx" alt="Tor" height="50" />
       </a>
     </div>
     <div id="content">
@@ -45,11 +45,11 @@
 
           <p class="addon">
             <a href="https://addons.mozilla.org/en-US/firefox/addon/torproject-snowflake/";>
-              <img src="firefox150.jpg" alt="Install in Firefox" height="100px" /><br />
+              <img src="firefox150.jpg" alt="Install in Firefox" height="100" /><br />
               <span>Install in Firefox</span>
             </a>
             <a href="https://chrome.google.com/webstore/detail/snowflake/mafpmfcccpbjnhfhjnllmmalhifmlcie";>
-              <img src="chrome150.jpg" alt="Install in Chrome" height="100px" /><br />
+              <img src="chrome150.jpg" alt="Install in Chrome" height="100" /><br />
               <span>Install in Chrome</span>
             </a>
             <span class="clear"></span>
@@ -82,11 +82,11 @@
 
       <p>It is now possible to embed the Snowflake badge on any website:</p>
 
-      <textarea readonly>&lt;iframe src="https://snowflake.torproject.org/embed.html"; width="320px" height="240px" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;</textarea>
+      <textarea readonly>&lt;iframe src="https://snowflake.torproject.org/embed.html"; width="320" height="240" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;</textarea>
 
       <p>Which looks like this:</p>
 
-      <iframe src="embed.html" width="320px" height="240px" frameborder="0" scrolling="no"></iframe>
+      <iframe src="embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
 
     </div>
   </body>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits