themeStyleSheets.popAll(formatStylingEngine);
}
// else, allow tests to run without the above. Dodgy.
// Then we remove the layout style sheet.
formatStylingEngine.popStyleSheet(layoutStyleSheet);
// Restore the old DeviceLayoutContext.
formatRendererContext.popDeviceLayoutContext();
}