#microformats 2018-11-09

2018-11-09 UTC
[tantek], [manton], sidedoor, Vinmax, gRegorLove, [sebsel], [jgmac1106], nitot, [grantcodes], [tmiller], [eddie], [Vincent] and [Rose] joined the channel
#
aaronpk
well this is a fun one
#
aaronpk
the parsers are picking up the alt text as the implied name of the h-card, rather than the text inside the <a> tag
#
aaronpk
that seems wrong
#
sknebel
second rule I guess: .h-x>img:only-child[alt]:not([alt=""]):not[.h-*]
#
sknebel
since they don't recognize the text as a second child
#
sknebel
maybe that's not what the author intended "only-child" to mean, but that's what it means in CSS
[jgmac1106] joined the channel
#
sknebel
yeah, that's the rule running
#
aaronpk
this is beyond my skillset so I guess I will file an issue on the parser?
#
sknebel
no, the parser does what the spec tells it to
#
aaronpk
er, on the spec
#
sknebel
yep. could also check the wiki if there's traces suggesting what it was intended to cover/mean and check if that'd apply with the different interpretation for only child too
#
sknebel
although I guess then it'd fall back to textcontent, which would include the alt, so that might need poking too
#
aaronpk
I think that issue is already open
#
aaronpk
(the alt text getting mixed up in the text content thing)
#
sknebel
maybe? worth referencing again then I guess
[manton] joined the channel
#
Loqi
breadcrumbs brainstorming
tin and [kevinmarks] joined the channel
#
[kevinmarks]
This is the implied name change?
#
aaronpk
I don't think this was previously discussed?
#
sknebel
what is "the implied name change"? if you mean the change to not always imply it, no
nitot, j12t, [eddie], sebsel, [jgmac1106], [manton] and doubleloop joined the channel