Page MenuHomePhabricator

wikipedia.org search box language dropdown is invisible using Opera 12
Closed, ResolvedPublic1 Estimated Story Points

Description

The wikipedia.org search box language dropdown is invisible when using Opera 12 (which has minimal user base these days, but I still like it ;) ).

Opera 12
pasted_file (304×601 px, 62 KB)
Expected
pasted_file (298×625 px, 73 KB)

It seems that the technique you're using to style the <select> dropdown (which is clever, I haven't seen this before!) doesn't quite work. Even with background and color set to transparent, the <select> dropdown still displays as basically a white rectangle (on Opera 12 only).

Setting opacity: 0 would work (the dropdown list still displays). Are there any browsers where this hides the dropdown list too, or is there some other reason it wasn't used? (It seemed to hide the dropdown, but keep it usable, everywhere I tried.)

If opacity: 0 breaks in other browsers, then please do something like if ( window.opera ) { document.getElementById( 'searchLanguage' ).style.opacity = 0; } to work around this for Opera 12 only. I can submit a patch if you point me to where the code for this is. :)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as Medium priority.Mar 11 2016, 3:44 AM
debt added a project: Discovery-Portal-Sprint.
debt moved this task from Backlog to What's Next on the Discovery-Portal-Sprint board.
debt added subscribers: Jdrewniak, JGirault, MSyed.
Jdrewniak set the point value for this task to 1.Mar 15 2016, 12:32 PM

Change 279437 had a related patch set uploaded (by Jdrewniak):
Fixes invisible language picker on Opera 12

https://gerrit.wikimedia.org/r/279437

Change 279437 merged by jenkins-bot:
Fixes invisible language picker on Opera 12

https://gerrit.wikimedia.org/r/279437

debt claimed this task.
debt added a subscriber: debt.

Closing and this will be part of this production update: https://phabricator.wikimedia.org/T130755