…ter. Fixes #9634
- Loading branch information
There are no files selected for viewing
3 comments
on commit ddf925b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't matter as the div should be ~1400px off screen. But as diego points out, the "top" and "left" values aren't being set on lines 154 and 155. They need to be string values including "px".
Also, I just want to point out that
Line 27 in ddf925b
div.innerHTML = " <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; |
<tag >tag[0]</tag>
pattern. Reverting this commit back to <td>t</td>
or updating line 27 to <a> </a>
would make things more consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, that line 27 in support.js
@davidmurdoch mentioned could be shortened/optimized without changing its meaning. I committed this change a while ago in my fork (for the lulz): mathiasbynens@489245e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch - that's the right fix
You could also drop the quotes around
padding:0;border:0;display:none
: http://mothereffingunquotedattributes.com/#padding%3A0%3Bborder%3A0%3Bdisplay%3AnoneThe end tags
</td>
and</tr>
are not needed.