-
Notifications
You must be signed in to change notification settings - Fork 707
[css-pseudo-4] Require support of text-stroke
on ::first-letter
pseudo element
#10892
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
Comments
For what it's worth, this already works in both Firefox and Safari:
The spec allows (but does not) require support for it:
|
Then it seems to me that, regardless of whether it applies to the So
|
The property works fine in text, but needs to be applied to the entirety of the text element in Chromium browsers, which hold up the majority of users anyway.
That sentence's relation to the matter is rather vague, but i appreciate the fact that is technically accurate, the property is allowed.
I had not realized of that support, i shall file a ticket with Chromium for support of this feature then. All the same, it would be amazing if it could be required. Keeping this issue, unless recommended otherwise. |
text-stroke
on ::first-letter
pseudo elementtext-stroke
on ::first-letter
pseudo element
The point is that this is a text property, so I bet that just adding |
Then |
Related Spec: https://drafts.csswg.org/css-pseudo/#first-letter-pseudo
I'd like to propose the property
text-stroke
, and therefore the propertypaint-order
be applied to the::first-letter
pseudo element (and potentially::prefix
and::suffix
sub-pseudo-elements).I work developing a tool to make documents using Markdown and CSS, and this issue has been raised before, books do use strokes with drop caps.
Show example from an actual book
Book: Tasha's Cauldron of Everything, by Wizards of the Coast
The text was updated successfully, but these errors were encountered: