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

Fixed ordered-list render bug #340

Open
wants to merge 1 commit into
base: HtmlViewer-11.10
Choose a base branch
from

Conversation

ortegaalfredo
Copy link

Ordered lists display misaligned by one row too low. This fixes them.

@BerndGabriel
Copy link
Owner

Thanks for that fix. Could you please post an html example file that demonstrates the effect of the fix? The enumerations in demo.html look correct. Which compiler and operation system are you using?

@ortegaalfredo
Copy link
Author

Yes, here's an html example. I'm using Lazarus 3.0.0, FPC 3.2.2 and Ubuntu (but the bug happens in Windows too):

<html><head><meta charset="UTF-8"></head><style>body{background-color:white;}table{width:100%;margin:0 auto;} td{width:100%;word-wrap:break-word;}pre{}</style><body><table><tr style="align: center;background-color: #EBF5FB;padding: 0px"><td style="border: none;"><pre>write a list of 10 words</pre></td></tr><tr><td style="border: none; padding: 50px;"><ol>
<li>Abundance</li>
<li>Serenity</li>
<li>Ingenuity</li>
<li>Resilience</li>
<li>Empathy</li>
<li>Curiosity</li>
<li>Vitality</li>
<li>Authenticity</li>
<li>Gratitude</li>
<li>Harmony</li>
</ol>
</td></tr><tr style="color:#808080;font-size: 80%;"><td><SYSTEM> You selected "/home/guest/test.html" to save your file.</td></tr></table></body></html>

@BerndGabriel
Copy link
Owner

340
What's wrong here?

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

Successfully merging this pull request may close these issues.

None yet

2 participants