Fatal Error vs. Warning when stylesheet parsing goes bad
6 views
Skip to first unread message
BrianS
unread,
Jul 19, 2012, 2:33:53 PM7/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dompd...@googlegroups.com
There are a few parsing errors that will cause dompdf to throw an exception during stylesheet parsing. The exception is fatal, causing further processing to stop. This seems the wrong way to handle stylesheet problems since this affects visual the document's visual representation instead of overall document processing. Browsers typically silently ignore CSS errors. I believe we can take a similar tact, throw a warning and proceed to the next valid declaration. Any thoughts?
Anyone have a stylesheet that contains bad CSS syntax that we can use in testing?
BrianS
unread,
Jul 20, 2012, 2:07:13 PM7/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message