[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote Thu, Jul 28, 2005:
> This is an automated notification of a change to the ELinks CVS tree.
> 
> Author: witekfl
> Module: elinks
>    Tag: <TRUNK>
>   Date: Thu Jul 28 14:33:39 2005 GMT
> 
> ---- Log message:
> 
> I don't see any difference on php.net with or without that code enabled.
> It is likely that I "fixed" this in general.c rev. 1.13.
> 
> 
> 
> ---- Files affected:
> 
> elinks/src/document/html/parser:
>    parse.c (1.180 -> 1.181) 
>     
> http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/document/html/parser/parse.c.diff?r1=1.180&r2=1.181&f=u
> 
> 
> ---- Diffs:
> 
>  elinks/src/document/html/parser/parse.c |    3 +--
>  1 files changed, 1 insertion(+), 2 deletions(-)
> 
> 
> Index: elinks/src/document/html/parser/parse.c
> diff -u elinks/src/document/html/parser/parse.c:1.180 
> elinks/src/document/html/parser/parse.c:1.181
> --- elinks/src/document/html/parser/parse.c:1.180     Thu Jul 28 15:04:53 2005
> +++ elinks/src/document/html/parser/parse.c   Thu Jul 28 16:33:34 2005
> @@ -933,13 +933,12 @@
>  
>  #if 0
>       /* XXX: Disabled since it breaks php.net ... */
> -
> +#endif
>       /* Apply background color from the <HTML> element. (bug 696) */
>       if (ei->func == html_html
>           && html_top.type >= ELEMENT_KILLABLE
>           && !html_context->was_body_background)
>               html_apply_canvas_bgcolor(html_context);
> -#endif
>  
>       /* dump_html_stack(html_context); */
>       foreach (e, html_context->stack) {

You need to try with 256 colors enabled to reproduce this bug. While it
loads everything looks fine, then during the last rendering the whole
background is painted white.

I think we need to move the HTML background check after the header has
been handled (and link lines has been drawn) when the first part of the
body is drawn.

-- 
Jonas Fonseca
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to