« first day (2128 days earlier)      last day (1660 days later) » 

06:10
posted on February 26, 2019

New Cyanide and Happiness Comic

 
10 hours later…
15:55
@ZachSaucier Did you get your watch? Someone in the SOCVR room got theirs yesterday
0
A: How is ::first-line different from :first-child (pseudo-class vs pseudo-element)

BoltClockThe 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
@BoltClock I think the real question that I'm left with is... why the heck are :first-child and :nth-child selectors not using the :: syntax?
@TylerH Why would they? They aren't pseudo-elements. They represent elements themselves
Just like p.foo represents a p with foo in its own class attribute
And not one of its descendants'
Nevermind, I don't know why I said that
I had literally just read the spec and explained to myself the reason for it
The :: syntax itself is its own can of worms though
16:10
quite a big brain fart
Tab calls it a pseudo-element combinator or something
So, do you think it's a dupe of this answer? stackoverflow.com/a/11701951/2756409
Probably
I'm still bummed I never got around to finishing my draft to that
lol
well, it's never too late to add an alternative explanation
I guess it depends on whether the author understands the answer to that question, but first the author has to see it
16:14
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)
And there's no evidence that they have seen it yet so let's just hand it to them and see if it satisfies
So lemme get this straight
After all this talk about being burned out and wanting to leave web dev aside for a good long while
@BoltClock ah, OK
I punch out half a dozen paragraphs explaining pseudo-classes and pseudo-elements?
In 20 minutes?
@BoltClock old boy's still got it
And I wasn't even pinged about it, just happened to spot it on my homepage
And I only check the site, like, once every 6 hours now
16:19
It's a sign from the universe "don't go"
16:37
@TylerH not yet
@TylerH I didn't realize you had a gold badge in CSS
@BoltClock I'm still sad I didn't get to visit you when I was on that side of the world
@ZachSaucier Bummer
17:01
@ZachSaucier yep, for a while now. 6 months at least
@ZachSaucier just means you gotta take another trip!
17:18
@TylerH but the travel time is so long now and I have a job
17:59
and a wife
0
Q: can ":next-of-type" be synthesized?

VictoriaCame 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 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
 
2 hours later…
20:28
@ZachSaucier good addendum :-P
20:55
how does one learn of clear: left and clear: right while somehow missing clear: both

« first day (2128 days earlier)      last day (1660 days later) »