FelixOngati / dompdf

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

"color: inherit" raises warning #542

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Set color:inherit on pretty much any element

What is the expected output? What do you see instead?

PHP raises a warning that 'hex' is an illegal string offset

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

DomPDF 6.0 beta3, PHP 5.4

Please provide the HTML source code you want to convert, or any additional
information.

Adding the following to style.cls.php on line 1412 seems to fix the issue, but 
I do not know what other consequences this might have:
    if(is_string($col)) return;

Original issue reported on code.google.com by m...@languesvivantes.com on 3 Oct 2012 at 1:12

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

Original comment by eclecticgeek on 14 Nov 2012 at 11:13

GoogleCodeExporter commented 9 years ago
We'll evaluate your fix vs. the one supplied by thilo

Original comment by eclecticgeek on 14 Nov 2012 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00