We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the following effective rule:
h1 { text-transform: uppercase; -weasy-string-set: section content(); }
Weasyprint sets the section register/variable to the uppercased version of the <h1>'s content, instead of the original lowercase version.
section
<h1>
I am not entirely sure if I am right about the expected behavior, but the CSS Text Transformation spec says this about text-transform:
text-transform
This property transforms text for styling purposes. (It has no effect on the underlying content.)
This suggests to me that content() should return the untransformed text. The definition of content() does not shed light on this matter.
content()
The text was updated successfully, but these errors were encountered:
Thanks for reporting! This issue is a duplicate of #137.
Sorry, something went wrong.
No branches or pull requests
With the following effective rule:
Weasyprint sets the
section
register/variable to the uppercased version of the<h1>
's content, instead of the original lowercase version.I am not entirely sure if I am right about the expected behavior, but the CSS Text Transformation spec says this about
text-transform
:This suggests to me that
content()
should return the untransformed text. The definition ofcontent()
does not shed light on this matter.The text was updated successfully, but these errors were encountered: