-
-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make 'inherit' value work correctly for shorthand properties #1007
Comments
For example, |
This is a regression bug, breaking previously correct behaviour. We've just tried upgrading WeasyPrint from 44 to 51, and discovered we're now getting a warning that we didn't before:
and that some links are now getting underlines that they didn't have before the upgrade. Changing This regression is particularly unfortunate for the |
Yes, that’s exactly why this is a regression:
Yes, it’s infortunate. I’ll try to fix this as soon as I can. If anyone is interested, I can also help someone to fix it, the patch should be pretty small and it’s a good way to learn how WeasyPrint works. |
Hey @liZe I believe I've come across this issue as well. Any updates on a fix? See my error below when using the sample report.css file from the gh-pages branch.
Has anyone already addressed? Happy to help if you can provide some guidance. |
…erties * skip shorthand expansion for 'inherit' tokens, hereby applying parent styles
Hey @liZe, I have just submitted this pull request. Please review |
…verflow-wrap` properties
…verflow-wrap` properties
#1007 Make 'inherit' value work correctly for `word-wrap`
#1524 is the draft pull request to solve this issue. |
From Cascading and Inheritance:
It should be probably handled by the
expander
decorator.The text was updated successfully, but these errors were encountered: