Page MenuHomePhabricator

Language picker dropdown is not readable in very old Opera 10.6
Closed, DeclinedPublic

Description

Screen Shot 2017-03-21 at 4.35.24 PM.png (992×1 px, 402 KB)

Just for the record?
Opera 10.6 seems to be very old...

Interestingly, we have a css hack that's supposed to fix it, if only it wasn't invalid css (nested properties).
https://github.com/wikimedia/portals/blob/8673983fbc5855fdd59caf92792a9d39b63bf077/dev/wikipedia.org/assets/postcss/_search-language-picker.css#L169-L176

From http://www.opera.com/docs/specs/presto2.12/css/o-vendor/

-o-prefocus
-o-prefocus is a pseudo-class introduced in Opera 9.5 that allows styles to be targeted for Opera only.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It seems one way to actually fix it would be:

_:-o-prefocus, .styled-select.js-enabled select {
	background-color: var( --ss-c-grey-hover );
	color: var( --ss-c-grey );
}
_:-o-prefocus, .styled-select.js-enabled select:hover {
	background-color: var( --ss-c-grey-hover );
}

Assuming it's worth the pain.

debt triaged this task as Low priority.Mar 22 2017, 3:31 PM
debt added subscribers: debt, Jdrewniak.

As noted in T161061:

The Wikipedia portal uses the browser compatibility guidelines as noted on the mediawiki page for the portal.

Opera 11.5 is quite old but is sandwiched between Basic (10.0+) and Advanced (12.1+) and thus, should be supported.

Recently the WMF has discontinued JS support for IE8, meaning we only serve JS to ES5 compatible browsers. Opera 10.6 doesn't have full ES5 support, so if we serve the non-js version to Opera 10.6, that might fix this issue (off the top of my head I don't know how we'd target ES5 browsers only... right now we only target IE specifically as non-js...)

We won't be able to support this older version, declining this ticket.