trichview.com

trichview.support




Re: Important!!! BUG!!!


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/15/2002 22:39:35


Thanks, I changed it to


if (BaseStyle=nil) or

  (s<>GetTextDecoration(BaseStyle.Style,BaseStyle.StyleEx,BaseStyle.Jump))

or

  (Jump and (s='none')) then



> hi!

>

> There's a bug with links & underline.

> Normally if a textstyle has jump=true and not fsunderline in fontstyle,

> the result in CSS should be "text-decoration: none".

> But because of that you compare with the Base-Style this won't happen.

> This is wrong, if "s" = "none" here, you may not compare with the base

> style.

> So could you replace in RVStyle.pas in line 3789 the line

>

> if (BaseStyle=nil) or

> (s<>GetTextDecoration(BaseStyle.Style,BaseStyle.StyleEx,BaseStyle.Jump))

> then

>

>

> with

>

> if (BaseStyle=nil) or

> (s<>GetTextDecoration(BaseStyle.Style,BaseStyle.StyleEx,BaseStyle.Jump))

> or (s = 'none') then

>

> This fixes the thing in TRVStyle.SaveCSS.

> Please add this as otherwise I would have to add this in every new

> version again myself...

>

> thanks,

> Alex

>





Powered by ABC Amber Outlook Express Converter