From c2e8f505c12ace6af42161bf9930d483b1721f2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 28 Sep 2015 19:12:06 +0200 Subject: [PATCH] Work around IE9's broken handling of .styleSheet.cssText IE9 drops @media queries from .styleSheet.cssText when that property is read. Therefore we can't trust it to contain what we put there previously. Bug: T108727 Change-Id: Ic4f553966e48e3fc608a47ef193df923227ceb96 --- resources/src/mediawiki/mediawiki.js | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/resources/src/mediawiki/mediawiki.js b/resources/src/mediawiki/mediawiki.js index 5dd2acbd81..1577fff0e2 100644 --- a/resources/src/mediawiki/mediawiki.js +++ b/resources/src/mediawiki/mediawiki.js @@ -924,14 +924,22 @@ // Verify that the element before the marker actually is a //