kooloveme / thtmlviewer

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

<Pre wrap> style issues #361

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
<pre wrap> wraps correctly, but fails to take on any of the styles defined for 
<pre>.

It does not appear to even take on all the default <pre> styles (in the screen 
shot the <pre> block appears to have a bottom margin, while the <pre wrap> 
block does not).

Additionally, it appears that whatever styles are applied to the <pre wrap> 
block (certainly a change of font, I can't tell if there's anything else) 
continue to affect subsequent blocks. (Unless the subsequent block has explicit 
styling. The example html has p { color: red; }, hence the last paragraph 
having the correct colour).

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

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

Original issue reported on code.google.com by wildcrof...@gmail.com on 15 Jun 2014 at 11:13

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

This seems to be another issue about missing attributes induced by the parser's 
idea of late TSection creation, which tends to forget attributes related with 
that section (similar to issue 351).

Original comment by OrphanCat on 17 Jun 2014 at 6:54