BerndGabriel / HtmlViewer

The well-known Delphi/Lazarus HtmlViewer/FrameViewer
Other
399 stars 147 forks source link

Does not display many HTML Forms properly #356

Open SARTrack opened 3 weeks ago

SARTrack commented 3 weeks ago

Hi.

I am the developer of the free software for Search and Rescue and Emergency Comms "SARTrack".

I only just found your htmlviewer because I need to display a special type of HTML forms which come in over email, and are part of the international Amateur Radio "Winlink" Email Over Radio system. So I have no control on how these HTML forms are put together. But unfortunately they will not display properly (or at all) in the HTMLViewer. They DO display properly in Firefox. And more, I can also still load them into my dinosaur html editor called "KompoZer", which I think pre-dates your own project by many years. "KompoZer is an open source WYSIWYG HTML editor-based on the now-discontinued Nvu editor, which was based on the discontinued Mozilla Composer, which was based on the discontinued Netscape Composer." (Google)

I attach a typical file which does not display properly. The question is: Is this badly written HTML code, which is rebuild by browsers like Firefox, or is the problem with HTMLViewer? And if so, any chance this could be fixed? Hmm. Looks like I cannot attach the HTML file. So it is here is a typical example: https://sartrack.nz/temp/email-DHIB10XKYVQUwinlink.org.html Any feedback welcome!

Thanks, Bart , info@sartrack.nz https://sartrack.nz New Zealand

BerndGabriel commented 3 weeks ago

Hi, looks bad. I'll see what I can do against it....

SARTrack commented 3 weeks ago

That would be greatly appreciated!

Whatever happens, I am curious if it has something to do with the developer of the actual Forms. They are still generating new and updated Forms for the Winlink System every few weeks.

If there are actual bugs in their HTML code, it is quite possible they would be prepared to fix things on their side.

Big thanks,

Bart

On 20/10/2024 19:57, BerndGabriel wrote:

Hi, looks bad. I'll see what I can do against it....

— Reply to this email directly, view it on GitHub https://github.com/BerndGabriel/HtmlViewer/issues/356#issuecomment-2424672219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AES5ZLCXE23RMUM4CJ45KW3Z4NH5XAVCNFSM6AAAAABQIGHZX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGY3TEMRRHE. You are receiving this because you authored the thread.Message ID: @.***>

-- Bart Kindt SARTrack Developer and CEO SARTrack Limited

BerndGabriel commented 3 weeks ago

Good morning to New Zealand!

There is a fix in branch "master" that hides the display=none textarea/input controls.

To fix the table height issue, please remove the height property from the style of the 2nd table tag in line 379.

A minor table cell issue: table cells seem to skip vertical spaces at its top and bottom.

If there are more severe issues I haven't seen yet or if the table cell issue is important, please let me know.

Bernd