#microformats 2026-01-06

2026-01-06 UTC
[Al_Abut] joined the channel
#
ulhar4409
settled on <img hidden loading=lazy>
#
[snarfed]
looks up hidden vs CSS display: none
#
[snarfed]
"Web browsers may implement the hidden state using display: none, in which case the element will not participate in page layout. Additionally, changing the value of the CSS display property on a hidden element will override the hidden state. For instance, elements styled display: block will be displayed despite the hidden attribute's presence." 🤷
#
ulhar4409
my guess is that `hidden` is more effective in, hm, CSS-less clients (e.g. Lynx, EWW, etc
#
ulhar4409
or maybe when something is relevant to the data of the page but not the design (e.g. my avatar as discussed)
#
ulhar4409
i might try putting it on my site's theme selector so that JS can make it reappear at will, but otherwise not take up space on screens that don't have use for it
#
ulhar4409
hidden=until-found seems neat too
#
jkingweb
My feeling is that display:none is the kind of thing you'd want to use for media-dependent stylesheets, but if something should always be hidden because it's essentially metadata or because it's only scripted to appear as a result of user action, then the hidden attribute is what you want.
[Zephyr]1, [Al_Abut]1, [schmarty], [John_Gorenfeld], [Zephyr], Hello1, gRegor, [Murray]1, [snarfed]2, [KevinMarks]2, [tantek]1, [artlung]2, [social]1, pfych-, [snarfed], [Murray]2, [artlung]3, barnabywalters, [social]2, [tantek]2, ehmry, April and [jeremycherfas] joined the channel
#
jkingweb
aaronpk: Do you have any idea why Packagist is still serving a commit from 2024 for the mf2/tests package? Apparently it was updated on 2025-12-09 when my patch was merged, and it's set to auto-update, but Packagist is still serving the old commit.
petergombos, saccharin, [schmarty]1, barnaby, pjg1, gRegor, btrem, gRegorLove_, [tantek]3, sebbu2 and sathyabhat[d] joined the channel