Jeckky / dompdf

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

Background image does not show if <style> tag is not present in the page #407

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a html file with a table in it. Put a background image in one of the 
td tag's.
2. Render the page using dompdf.

What is the expected output? What do you see instead?
There should have been a background image in the td but some weird results 
come. If there is no <style></style> tag in the head tag, the background image 
will not come no matter what! If I put a <style></style> tag, then the 
background image comes.

What version of dompdf are you using? What version of PHP? On what
operating system?
0.6 beta

Additional Information
2 htmls are attached below along with the gif file I am using.
1.html - has style tag and td content (works)
2.html - does not have style tag (does not work)

Original issue reported on code.google.com by prabal....@gmail.com on 17 Jan 2012 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
I confirm this issue.

Original comment by fabien.menager on 17 Jan 2012 at 10:18

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r454.

Original comment by fabien.menager on 17 Jan 2012 at 10:33

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16