mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 18:29:50 +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 |
||
---|---|---|
.. | ||
mediawiki.less | ||
skins.minerva.amc.styles | ||
skins.minerva.base.styles | ||
skins.minerva.content.styles.images | ||
skins.minerva.icons.page.issues.default.color | ||
skins.minerva.icons.page.issues.medium.color | ||
skins.minerva.icons.page.issues.uncolored | ||
skins.minerva.loggedin.styles | ||
skins.minerva.mainMenu.styles | ||
skins.minerva.mainPage.styles | ||
skins.minerva.scripts | ||
skins.minerva.talk.styles | ||
skins.minerva.userpage.styles | ||
.eslintrc.js | ||
mobile.startup.stub.js |