Safari5 Mac/Win Syntax Highlighting Fix
Brought to you by:
cdolivet
In Safari5, the syntax highlighting is bugged. The negative left margin applied during the Safari browser fixes at line 228 of the latest release causes very obnoxious visual artifacting. This patch detects does not apply the left margin inline style if the version of Safari is greater than or equal to 5.
Screenshot of Symptom
Thank you for the patch!
BTW, the Safari 4.1.3 (Mac OS 10.4.11) doesn't need the left margin adjustment, too. That why I had to change your patch for my system as follows.
if( t.isSafari < 4.1 )
a.style.marginLeft ="-3px";