From 705d50c146ae157e636381f28da669048a719ea7 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 7 Mar 2013 01:24:05 +0100 Subject: [PATCH] mw.loader: Buffer cssText in addEmbeddedCSS. I52252e699a improved the repaint situation (bug 45810) a bit, but not as much as we hoped. Inserting a stylesheet and applying it to the page is a fairly expensive operation. Invalidating the previous one in the process didn't help, but fixing that didn't make a lot of difference. This is a much more significant improvement by reducing the number of