Re: 'border-style' and 'border-width' properties
Tony Graham <[email protected]> Tue, 15 Mar 2005 12:05:33 +0000
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
Julian Rosse <[email protected]> writes: ... > Another thing - in my test cases, when I used "border-width", it gave me > a number of warning messages equal to the number of tokens in border-width's > value about datatype != NULL failing in fo_expr_context_push_stack(). Looking > at eval_border_style_expr(), I'm pretty sure you just have an extra > > fo_expr_context_push_stack (context, intermediate_value); > > where you don't want it - it looks like eval_enum() actually does the > pushing earlier in the function and intermediate_value doesn't get set if > parse_ncname() succeeds, thus the error indicating that intermediate_value > is NULL. It was working nonetheless, I guess because eval_enum() was > successfully pushing the tokens onto the stack, but letting you know. Fixed, thanks. I found that I couldn't view PDF that had any visible border style other than "solid" -- but I had the same problem with border-left-style, etc., too. Did you have that problem? I've patched fo-doc-gp.c. Regards, Tony. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click