Chrome Polishing
Google Chrome gave view-source some much appreciated attention. I often want to take a look at the CSS or JavaScript or some related link, and control-U takes me to the source of the page in a separate tab, with all of the lengthy lines line wrapped and line numbered. Best of all, all of the links are active. I simply find what I’m looking for, and click on it, and I see that page in another tab.
This caused me to track down and fix a few WebKit compatibility issues, both with my weblog, and with my planet.
- J and K keys didn’t work as document.documentElement.scrollTop is always 0 in Webkit. Looks to be a DOM vs IE6 standards compliant issue. Now I fallback to
document.body.scrollTop
whendocument.documentElement.scrollTop
is 0. - The Place of Interest sign that I use as a fallback for feeds that don’t provide an icon wasn’t being found. Added
font-family: Code2000;
to the CSS to get WebKit to look in the right place. date.toLocaleString()
on Windows was a bit wordy. I trimmed the timezone information a bit.- Apparently WebKit and Mozilla interpret the CSS border radius specs differently.
Everything except for CSS-based rounded corners continues to work in Opera.