Scott Jehl on Nostr: There's another linked fork in there that adds a few lines of JS to validate the ...
There's another linked fork in there that adds a few lines of JS to validate the exact letter matches so that the pattern attribute can drive the tan colors. It made me wish HTML and CSS validation had a little finer grain, ...or that the pattern attribute accepted and exposed capturing parentheses to selectors? :)
Published at
2024-04-05 02:48:23Event JSON
{
"id": "dfe917e4116afe0b80eddb4da50103076ce55f2f9ec7d6e116b0673fa268e905",
"pubkey": "8c72fb5d06a6a4442d62df9f481ff1f791e928589f247cf8932aaf42e0b6cdf2",
"created_at": 1712285303,
"kind": 1,
"tags": [
[
"p",
"8c72fb5d06a6a4442d62df9f481ff1f791e928589f247cf8932aaf42e0b6cdf2"
],
[
"e",
"d7cc824f40e6e155e21b1409b5e69bfa61fb6fd1f0d240eb22dcf1816bd261c1",
"",
"root"
],
[
"proxy",
"https://mstdn.social/users/scottjehl/statuses/112216329639950133",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mstdn.social/users/scottjehl/statuses/112216329639950133",
"pink.momostr"
]
],
"content": "There's another linked fork in there that adds a few lines of JS to validate the exact letter matches so that the pattern attribute can drive the tan colors. It made me wish HTML and CSS validation had a little finer grain, ...or that the pattern attribute accepted and exposed capturing parentheses to selectors? :)",
"sig": "a0cdf72631d105df097b6b7af023b25cdcd6fd69b21f010bec9f833641069c4f6a19697f11922344a3822b06e4784f2366cc4e90d04a354f425a9e3a07c2fdfb"
}