HomePhabricator

Work around IE9's broken handling of .styleSheet.cssText

Authored by matmarex.

Description

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
(cherry picked from commit c2e8f505c12ace6af42161bf9930d483b1721f2e)

Details