barryvdh / laravel-dompdf

A DOMPDF Wrapper for Laravel
MIT License
6.76k stars 976 forks source link

Error not a invalid CSS2 property #405

Closed hoquochai closed 4 years ago

hoquochai commented 7 years ago

Hi all! I have a problem when use laravel-dompdf. Error:

Exception {#2072 ▼
  #message: """
    'box_shadow' is not a valid CSS2 property.\n
    'text_overflow' is not a valid CSS2 property.\n
    'align_items' is not a valid CSS2 property.\n
    'justify_content' is not a valid CSS2 property.\n
    'justify_content' is not a valid CSS2 property.\n
    'align_items' is not a valid CSS2 property.\n
    """
  #code: 0
  #file: "/var/www/html/thevngeek-elearning/vendor/barryvdh/laravel-dompdf/src/PDF.php"
  #line: 211
  trace: {▶}
}
TwilightDuck commented 6 years ago

Bump

PhillyWebGuy commented 6 years ago

Anyone?

barryvdh commented 6 years ago

Please report here; https://github.com/dompdf/dompdf

Amit-singh311 commented 6 years ago

Does laravel-dompdf support css3 property?? Because it says "not a valid css2 property".

mgilberties commented 5 years ago

I think the issue is that dompdf only supports some CSS3 properties: https://github.com/dompdf/dompdf/wiki/CSSCompatibility

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf. If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.