kooloveme / thtmlviewer

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

CSS style table-layout:fixed not supported correctly #325

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Given the HTML in the attachment.

FF or IE render as expected. The three table columns are displayed with the 
same size. But rendered in the FrameDemo.exe the first column makes some 
trouble: all the characters of the word "Zusatzdaten" are wrapped, each in a 
single line. Probably the CSS property 'word-wrap:break-word' could be the 
problem here. 

Can you confirm the problem? Do you have a solution for that already? We'd be 
happy to provide any additional input you may need to look into this.

-John

Original issue reported on code.google.com by johnb20072@gmail.com on 2 Jan 2014 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

It not cuased by "word-wrap=break-word" but by "table-layout:fixed". As there 
are no columns widths given, THtmlViewer uses calculated best sizes, but that 
is not as specified by CSS3. FF and IE are doing it right.

Original comment by OrphanCat on 26 Jan 2014 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by OrphanCat on 26 Jan 2014 at 11:20