The document language refers, in the most typical CSS use case, to HTML. The document tree (as referred to throughout Selectors) refers to the DOM tree that is constructed from the markup.
A pseudo-element is something that is generated based on an existing layout. That is, a layout must first b...
I don't think I managed to answer the question fully
Specifically the ::first-letter part
I even added that as an afterthought if you look at the revision history
Something seems to be missing, inadequate
OK one of the things that's missing, ::first-line. But that's more of an issue with the question title and body not matching due to a somewhat ambiguous quotation
your new answer is useful for me as it does mention ::first-letter only applies to block elements. I didn't know that (though I've never tried to use ::first-letter before)
Came across a situation using large grids of mixed types of elements, where it would be nice to have :next-of-type as a pseudo-class. My definition of that would be the next sibling that is of the same type as the element selected by the selector to which :next-of-type is appended. (I suppose it ...
This is why I check the css-selectors tag directly at least once a day
I want to answer it, but dammit it's off-topic
(Well, the "can it be synthesized" part is on-topic, but the answer is "no" and the remaining discussion seems to detract pretty heavily from that anyway...) — BoltClock ♦1 min ago