Skip to content
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

[css-content] Styling applied to a quoted element should not affect the quotation marks #10468

Open
r12a opened this issue Jun 19, 2024 · 1 comment
Labels
css-content-3 i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.

Comments

@r12a
Copy link
Contributor

r12a commented Jun 19, 2024

2.4.1. Specifying quotes with the quotes property
https://drafts.csswg.org/css-content/#quotes-property

[Moving this comment from https://github.com//issues/5478 to a new issue]

I was just reviewing an article i wrote in 2018 but haven't yet published, pending the resolution of this discussion. Some parts, esp. related to how to write CSS, need to be rewritten after the dust settles.

The section Problems with scope describes an issue that i don't think we have yet discussed: If you apply a font change to a quotation in another language marked up with the q element, the font change also affects the quote marks, but the quote marks should be treated as part of the surrounding text, and remain in the same font as the stuff around the quote.

@r12a r12a added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label Jun 19, 2024
@r12a
Copy link
Contributor Author

r12a commented Jun 19, 2024

The following response from @jfkthame is copied here:

Probably worth discussing in a separate issue. Logically, I agree that the quote marks "belong" to the context of the quoted text, but if the quote is styled quite distinctively, I suspect it could look quite jarring to surround it with quote marks that don't match its style.

(I'm sure I've seen typographic guidelines that insist punctuation marks should use the style of the adjacent word, and haven't said anything about an exception for quote marks.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-content-3 i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

2 participants