raunakbinani / dompdf

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

background style on table,tr elements can create invalid style entry #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a document that contains a table.
2. Style the table or tr element using the background property and omitting
positioning information, something similar to the following: background:
#ffffff;
3. Render the document.

What is the expected output? What do you see instead?
The document should render normally. As long as display_errors is turned
off the user will see the expected PDF. If display_errors is turned on a
notice will be shown to the user and the PDF will not render. (The notice
should also be recorded in the PHP error.log, if enabled.) The specific
error message is:

Notice: Array to string conversion in dompdf/include/style.cls.php on line 1058

Original issue reported on code.google.com by eclecticgeek on 1 Dec 2009 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 1 Dec 2009 at 9:20

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 120 has been merged into this issue.

Original comment by eclecticgeek on 4 Feb 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Will it be a fix for this soon?

Original comment by oxodes...@gmail.com on 13 Apr 2011 at 7:12

GoogleCodeExporter commented 9 years ago
This appears to have been addressed in a recent update. Though right now I 
couldn't say which. Fabien?

Original comment by eclecticgeek on 6 May 2011 at 5:31

GoogleCodeExporter commented 9 years ago
Yes it's fixed, in fact colors could not be inherited for a long time, and this 
was the problem for this issue.

Original comment by fabien.menager on 7 May 2011 at 1:33

GoogleCodeExporter commented 9 years ago
Fixed in r390

Original comment by eclecticgeek on 8 May 2011 at 12:56

GoogleCodeExporter commented 9 years ago
Issue 295 has been merged into this issue.

Original comment by eclecticgeek on 1 Jun 2011 at 2:30

GoogleCodeExporter commented 9 years ago

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