Post #2037587
2026-04-20 12:46 UTC
@scrwd Looks like it works even with divs. Also the behaviour is not the same as html attribute
Replies (1)
-
@scrwd@mastodon.social 2026-04-20 12:57
@boolat yeah, I need to work out the differences - an is a "replaced element" - but MDN says that changing the "content" of an element makes it an "anonymous replaced element" - so I need to find out more about what it does and doesn't mean - I haven't yet found any good write-ups of it.