commit 1063ef7b1d98947d5d45744c033e1ad800f9b3d0 Author: David Fifield david@bamsoftware.com 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@2x.png" alt="Tor" height="50px" /> + <img src="tor-logo@2x.png" 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><iframe src="https://snowflake.torproject.org/embed.html" width="320px" height="240px" frameborder="0" scrolling="no"></iframe></textarea> + <textarea readonly><iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe></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@lists.torproject.org