Page MenuHomePhabricator

mw-ui-checkbox control does not respond in Opera 12.17
Open, Needs TriagePublic

Description

In Opera (Presto), the checkbox does not respond to clicks, but it does change state when clicking the associated label.

Event Timeline

Edokter created this task.Jul 26 2015, 12:09 PM
Edokter raised the priority of this task from to Needs Triage.
Edokter updated the task description. (Show Details)
Edokter added a subscriber: Edokter.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 26 2015, 12:09 PM
Seb35 added a subscriber: Seb35.Jul 30 2015, 11:36 PM

I have Opera 12.16 (on Linux) but I observe the same bug. I don’t know how to solve it, but here are some elements.

  1. The file where the checkbox behaviour is defined is resources/src/mediawiki.ui/components/checkbox.less, and specifically the rule .client-js .mw-ui-checkbox:not(#noop) { input[type="checkbox"] { & + label::before { } } }
  2. When I click on the ckeckbox, the check doesn’t appear but appears when my mouse hovers the label associated (on the login page)
  3. The selectors used in the rule (not, +, ::before) are implemented at least since Opera 10 / Presto 2.3, but it seems Opera 12 doesn’t fully recognize the combinaison of the selectors, at least not as other browsers / rendering engines (Firefox, Opera 15+).
Aklapper renamed this task from mw-ui-checkbox control does not respond in Operal 12.17 to mw-ui-checkbox control does not respond in Opera 12.17.Jul 31 2015, 8:33 AM