HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

border-bottom missing on second link

Open stijnsanders opened this issue 1 year ago • 1 comments

Please consider this easy HTML:

HtmlViewer1.LoadFromString(
  '<style>A.X{border-bottom: 2px solid red;}</style>'
  +'<a href="#x" class="X">xxx</x><br />'
  +'<a href="#x" class="X">xxx</x><br />'
  );

using LoadFromString, the border-bottom on the second link is missing:

image

there may be a link with issue 273but I'm not sure

stijnsanders avatar Aug 27 '24 20:08 stijnsanders

Also, with some larger documents with a number of links with border-bottom, I've noticed stray horizontal lines of possibly the correct length, but drawn from the 0,0 coordinates...

stijnsanders avatar Aug 27 '24 20:08 stijnsanders

I noticed I had </x> instead of </a>... never mind

stijnsanders avatar Sep 04 '24 21:09 stijnsanders