Thiemo Mättig (WMDE) has uploaded a new change for review.

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

Change subject: Fix Beta checkboxes not rendering in Opera 12 (all systems)
......................................................................

Fix Beta checkboxes not rendering in Opera 12 (all systems)

In theory Opera 12 is able to render SVGs as background images
but does have problems when SVG backgrounds are used in
combination with border-radius. The SVG is not rendered or
disappears when scrolling. I can confirm this on Windows and Ubuntu.

I'm aware that the Beta features are not made to work in Opera 12.
Anyway, most of them do work with no or only small problems.
I really don't see a reason why we should block Opera 12 users from
testing the Beta features. At least not by simply not rendering a
crucial UI element.

Most other SVG images we use don't have this problem because they
are not used in combination with border-radius.

This issue is discussed here:
https://www.mediawiki.org/wiki/Talk:Beta_Features#Checkboxes

Change-Id: Ice592bc823ef10ca7bf014046aba12efa1db79cb
---
M resources/betafeatures.css
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BetaFeatures 
refs/changes/27/132927/1

diff --git a/resources/betafeatures.css b/resources/betafeatures.css
index 3bc1910..f15a7ec 100644
--- a/resources/betafeatures.css
+++ b/resources/betafeatures.css
@@ -57,6 +57,8 @@
        background-image: -webkit-linear-gradient(transparent, transparent), 
url(images/checked.svg);
        /* @embed */
        background-image: linear-gradient(transparent, transparent), 
url(images/checked.svg);
+       /* Fix for Opera 12 not rendering SVG backgrounds on border-radius 
labels */
+       background-image: -o-linear-gradient(transparent, transparent), 
url(images/checked.png);
        background-repeat: no-repeat;
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/132927
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice592bc823ef10ca7bf014046aba12efa1db79cb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BetaFeatures
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to