kooloveme / thtmlviewer

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

CSS Block Display Regression #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?

1. Refer to attached menu.html and topTextNavWithDrop.css

What is the expected output? What do you see instead?

Prior to the latest version (May 2012 THtmlViewer) displayed the menu items 
block floated left (horizontal).

The current version shows the UL items (vertical).

Which version of the product are you using? Which compiler version are you
using? On which operating system?

Latest THTMLViewer, Delphi 7, Windows XP.

Please attach test html files and screenshots, if appropriate.

Please provide any additional information:

Has something changed in display:inline?

Original issue reported on code.google.com by winal...@googlemail.com on 19 Dec 2012 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reminding me at this issue. 

I've seen it some time ago, but didn't find the time to fix it, yet.

Original comment by OrphanCat on 20 Dec 2012 at 10:43

GoogleCodeExporter commented 9 years ago
Thanks for the reply. Is there a workaround? How come it worked previously?

Original comment by winal...@googlemail.com on 20 Dec 2012 at 9:50

GoogleCodeExporter commented 9 years ago
I'm afraid there is no workaround. It was a dirty hack and - AFAIR - because of 
some side effects I had to switch it off again. 

I started to generalize "display=inline" for all kinds of blocks, but it is not 
finished. You can find lots of {$ifdef DO_BLOCK_INLINE} in the code, but 
defining it does not work, yet.

Original comment by OrphanCat on 21 Dec 2012 at 2:54

GoogleCodeExporter commented 9 years ago
Thanks for the update. Can you recall the last revision where it worked so I 
can rollback if needed?

Original comment by winal...@googlemail.com on 21 Dec 2012 at 5:34

GoogleCodeExporter commented 9 years ago
This feature has been switched off with r295 of Jun 24, 2012 to fix issue 145:

Issue 145: Freeing documents containing inlined list items like <li 
style="display:inline"> produces exceptions, if they contain blocks like <div> 
etc.
- Fixed: no exceptions any more, but display=inline does not work.
- Required: general rework of blocks and sections to display blocks inline.

Original comment by OrphanCat on 30 Dec 2012 at 8:01

GoogleCodeExporter commented 9 years ago
Hi OC,

Thanks for the reply. Any ETA on inline support before I rollback? Any quick 
fix that can be applied to latest revision?

Regards, WP

Original comment by winal...@googlemail.com on 1 Jan 2013 at 5:22

GoogleCodeExporter commented 9 years ago
Sorry for being late.

And sorry, there is no timeline yet.
Although this enhancement would be very welcome, I can't say, when I can 
continue with it as it will require a lot of changes. :(

OrphanCat

Original comment by OrphanCat on 10 Mar 2013 at 2:33