nakijun / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Problem with fonts object in TSection.HRef #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. Open the demo program in the attachment.
2. Use the button to load the HTML file included. This HTML file is a twitter 
response that can not be shown correctly with the 11.5 version of the 
THTMLViewer.
3. Notice that in TSection.HRef the fonts.count during the cycle that it 
crashes is 0. I changed that code to have an count and assignment check to see 
if the new font could be added to the list succesfully later on, but noticed 
something weird going on: The fonts.count jumped from 0 to 7 later on as if the 
address behind the object is actually invalid.

What is the expected output? What do you see instead?
Expected output: the added HTML file loads succesfully instead of a crash.

Which version of the product are you using? Which compiler version are you
using? On which operating system?
THTMLViewer 11.5
Delphi XE2
Windows 7

Please attach test html files and screenshots, if appropriate.
Please provide any additional information:

Original issue reported on code.google.com by i.sieb...@obec.nl on 14 Jan 2015 at 9:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

Original comment by OrphanCat on 14 Jan 2015 at 5:54

GoogleCodeExporter commented 9 years ago
r500 fixes this issue and fixes the nearly hidden image titles.

TD always hid overflowing content. Now it respects style property overflow (at 
least 'hidden', while default is 'visible').

Original comment by OrphanCat on 14 Jan 2015 at 10:23