Merge "Checkboxes should be styled on non-JS browsers"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 26 Jun 2018 14:21:33 +0000 (14:21 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 26 Jun 2018 14:21:33 +0000 (14:21 +0000)
resources/src/mediawiki.ui/components/checkbox.less

index 0c13daf..a1646a8 100644 (file)
 }
 
 // We use the `:not` selector to cancel out styling on IE 8 and below
-// We also disable this styling on JavaScript disabled devices. This fixes the issue with
-// Opera Mini where checking/unchecking doesn't apply styling but potentially leaves other
-// more capable browsers with unstyled checkboxes.
-.client-js .mw-ui-checkbox:not( #noop ) {
+// Note: This may be broken on older Opera Mini devices.
+.mw-ui-checkbox:not( #noop ) {
        display: table;
        // Position relatively so we can make use of absolute pseudo elements
        position: relative;