Re: [csswg-drafts] [css-pseudo] ::first-letter and pseudo-elements (#4578)

Good catch. I think that first "may" is an incorrect use of RFC2119 MAY. I've rephrased the sentence to be clearer. The second "may" still applies, however, and all three variations are allowed...

With the correction, it should be clear that in

```
p::before { content: "T"; }
<p>his</p>
```

the 'T' should match ::first-letter and not the 'h', however if we replaced the "T" with a "(" then it is up to the UA whether ::first-letter matches the (, the h, or both together.

Let me know if this resolves your concern or there's something else you wanted fixed in the spec.

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

Received on Wednesday, 11 March 2020 01:34:37 UTC