Menu

#49 Safari5 Mac/Win Syntax Highlighting Fix

open
nobody
None
5
2014-04-30
2010-06-08
eberon
No

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.

Discussion

  • eberon

    eberon - 2010-06-08
     
  • eberon

    eberon - 2010-06-08

    Screenshot of Symptom

     
  • Eismann

    Eismann - 2011-01-12

    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";

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.