mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 10:27:31 +00:00
b1d39a5425
Reported in, https://it.wikipedia.org/w/index.php?title=Wikipedia%3ABar%2FDiscussioni%2FAggiornamento_del_parser_per_le_immagini%3A_vogliamo_testarlo%3F&type=revision&diff=130240855&oldid=130214646 The default styling in core looks like, .mw-image-border { > a:first-child, > span:first-child { > *:first-child:not( .mw-broken-media ) { border: @border-thumbborder-screen; } } } The simplification here recognizes that the border option doesn't apply to thumbs, so descendent selectors can be dispensed with, there's no nesting in figcaptions to worry about. That's important because lazy-loading adds a noscript before the img tag, which would make the selectors with first-child not apply anyways. An img tag is used instead of the universal selector. That seems like a safe assumption for now and can be revisited with T314097 / T318433 Bug: T318300 Change-Id: I25f45ee794300d2ba2a38a0ab6e3741a6b1a18f2 |
||
---|---|---|
.. | ||
content | ||
anonTalkMessage.less | ||
common.less | ||
footer.less | ||
header.less | ||
LastModifiedBar.less | ||
pageactions.less | ||
reset.less | ||
skin.less | ||
ui.less | ||
userMenu.less |