HomePhabricator

Updated mediawiki/skins Project: mediawiki/skins/Vector…

Authored by matmarex.

Description

Updated mediawiki/skins Project: mediawiki/skins/Vector 16e16eb0751aa42efd3a076b66c0761b23b266fd

Don't use JavaScript to style first sidebar portlet

We were adding a .first CSS class to the portlet from JavaScript
instead of just using a smarter selector, which caused the incorrectly
styled portlet to visibly flash sometimes.

This was only useful for IE 6 (even IE 7 supports the sibling selector
'+', which we can use here), and we don't serve JavaScript to it
anymore. It would be neater to use ':first-of-type', but that's not as
widely supported.

Bug: T89542
Change-Id: I1904b3899c43bca52a6c996b8ce08c8bdf764aa0

Details

Committed
Gerrit Code ReviewFeb 15 2015, 12:44 AM
Parents
rSKIN66540343a17c: Updated mediawiki/skins Project: mediawiki/skins/Vector…
Branches
Unknown
Tags
Unknown
ChangeId
I1904b3899c43bca52a6c996b8ce08c8bdf764aa0

Event Timeline