Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

border-bottom on a within h1 drawn from 0,0 #355

Open
stijnsanders opened this issue Sep 4, 2024 · 0 comments
Open

border-bottom on a within h1 drawn from 0,0 #355

stijnsanders opened this issue Sep 4, 2024 · 0 comments

Comments

@stijnsanders
Copy link

Please consider this bit of code:

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

It looks like the border-bottom on the link gets drawn from incorrect coordinates, possibly (0,0):
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants