AngelicTech / thtmlviewer

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

Body background-image InsertImage has no visual effect #385

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. Have a body with a background-image
2. in GetImage return WaitStream
3. then use InsertImage to specify the image

What is the expected output?

The background image is changed

What do you see instead?

Nothing changes.

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

r489, Delphi XE, Windows 2008/2012/7

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

Changing background image of a div or other elements in the same fashion works, 
body seems to be the only affected.
The bug is present both when a CSS class is used or when the CSS is inline in a 
style tag.

When stepping into the code, the image insertion seems to be working okay.

Original issue reported on code.google.com by zar...@gmail.com on 18 Nov 2014 at 10:41

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue and the test programm.

r490 fixes the issue.

Original comment by OrphanCat on 30 Dec 2014 at 1:24