<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Should &quot;link.setAttribute('height', '16px');&quot; and ditto for width really include the &quot;px&quot; unit? I don't believe the height/width attributes take units.

Oh, and also: it seems like Firefox adjusts favicon sizes to stay within the proper bounds even without having to do something like this, so if setting those attributes works, it will probably only serve to force the icon to be a perfect square.

Haven't actually tried any of that, just guessing. ;)</body>
  <body-html>&lt;p&gt;Should &quot;link.setAttribute('height', '16px');&quot; and ditto for width really include the &quot;px&quot; unit? I don't believe the height/width attributes take units.&lt;/p&gt;

&lt;p&gt;Oh, and also: it seems like Firefox adjusts favicon sizes to stay within the proper bounds even without having to do something like this, so if setting those attributes works, it will probably only serve to force the icon to be a perfect square.&lt;/p&gt;

&lt;p&gt;Haven't actually tried any of that, just guessing. ;)&lt;/p&gt;</body-html>
  <created-at type="datetime">2006-07-10T02:06:18Z</created-at>
  <forumable-id type="integer">2543</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">48847</id>
  <topic-id type="integer">14181</topic-id>
  <updated-at type="datetime">2008-11-16T23:55:15Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">452</user-id>
</post>
