Re: [csswg-drafts] [css-pseudo-4] Enable use of `text-stroke` on `::first-letter` pseudo element (#10892)

`-webkit-text-stroke` is defined as an inherited property that applies to all elements. So as per https://github.com/w3c/csswg-drafts/issues/5303#issuecomment-714593347, it applies to text. (I think it should just apply to text, but whatever)

Then it seems to me that, regardless of whether it applies to the `::first-letter` box or not, the text inside the `::first-letter` should be affected by it.

So `::first-line` should be aligned with `::marker` in this regard https://drafts.csswg.org/css-lists-3/#marker-properties

> All properties can be set on a [`::marker`](https://drafts.csswg.org/css-pseudo-4/#selectordef-marker) pseudo-element and will have a [computed value](https://drafts.csswg.org/css-cascade-5/#computed-value) which will then inherit to its text content.


-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10892#issuecomment-2351763953 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 15 September 2024 19:35:51 UTC