On Sat, Dec 15, 2012 at 2:41 AM, Themba Fletcher
<themba.fletc...@gmail.com>wrote:

> I've been meaning to post this for a while. On every browser except
> firefox, at least with my installed fonts, the side-by-side diff container
> overflows the body resulting in the body's border being visible as a
> vertical gray line behind the diff content.
>
> This will fix that, if you'd like to have it. Nothing special here, just
> bog-standard css repeated in blogs all over the net:
>

The change below made no difference for me.  So I implemented
http://www.fossil-scm.org/fossil/info/69f75f196b instead, which seems to
work on all browsers I've tried (IE10, IE9, IE7, FF, Chrome, Safari, Opera).


>
> Index: src/style.c
> ==================================================================
> --- src/style.c
> +++ src/style.c
> @@ -961,10 +961,14 @@
>    { "div.sbsdiff",
>      "side-by-side diff display",
>      @   font-family: monospace;
>      @   font-size: smaller;
>      @   white-space: pre;
> +    @   background: white;
> +    @   display: inline-block;
> +    @   zoom: 1;                /* IE 6/7 substitute for inline-block */
> +    @   *display: inline;       /* IE 6/7 substitute for inline-block */
>    },
>    { "div.udiff",
>      "context diff display",
>      @   font-family: monospace;
>      @   white-space: pre;
>
>
> The lines commented as IE6/7 workarounds are that, but for me at least
> they seem to be required or else IE8 chokes on it. Probably has something
> to do with the size of the inline-block element.
>
> Tested with your links above on IE7-9 (IE9 in its compatibility modes, so
> not the real thing but should be close enough), latest firefox, and latest
> chrome.
>
> Best Regards,
>
> Themba
>
>
>
> On Fri, Dec 14, 2012 at 6:16 PM, Richard Hipp <d...@sqlite.org> wrote:
>
>> Reposted from fossil-dev:
>>
>> OLD:  http://www2.sqlite.org/src/ci/52e755943f?sbs=1#chunk1
>> NEW: http://www.sqlite.org/src/ci/52e755943f?sbs=1#chunk1
>>
>> OLD:
>> http://www2.fossil-scm.org/fossil/fdiff?v1=955cc67ace8fb622&v2=e2e1c87b86664b45#chunk24
>> NEW:
>> http://www.fossil-scm.org/fossil/fdiff?v1=955cc67ace8fb622&v2=e2e1c87b86664b45#chunk24
>>
>> Comments, suggestions, and (constructive) criticism are all welcomed.
>> Also welcomed are examples of diffs that do not perform well using the new
>> diff logic.
>>
>> Note that I will eventually update the Fossil executables on the "OLD"
>> machines above, so if you are viewing this more than a week or so after it
>> was posted (2012-12-14) then the OLD and NEW will likely look the same.
>>
>> --
>> D. Richard Hipp
>> d...@sqlite.org
>>
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to