src/aria/ext/StressCss.js
function (force, cssText) {
        if (force !== true) {
            aria.templates.CSSMgr.__textToDOM(ariaUtilsObject.keys(aria.templates.CSSMgr.__styleTagPool));
        } else {
            // Having an empty text to dom go deeper in the CSSMgr to force a reload
            var styleBuilder = {};
            for (var id in aria.templates.CSSMgr.__styleTagPool) {
                if (aria.templates.CSSMgr.__styleTagPool.hasOwnProperty(id)) {
                    styleBuilder[id] = (id === "tpl" && cssText) ? [cssText] : [];
                }
            }
            aria.templates.CSSMgr.__reloadStyleTags(styleBuilder);
        }
    }
function (force, cssText) {
        if (force !== true) {
            aria.templates.CSSMgr.__textToDOM(ariaUtilsObject.keys(aria.templates.CSSMgr.__styleTagPool));
        } else {
            // Having an empty text to dom go deeper in the CSSMgr to force a reload
            var styleBuilder = {};
            for (var id in aria.templates.CSSMgr.__styleTagPool) {
                if (aria.templates.CSSMgr.__styleTagPool.hasOwnProperty(id)) {
                    styleBuilder[id] = (id === "tpl" && cssText) ? [cssText] : [];
                }
            }
            aria.templates.CSSMgr.__reloadStyleTags(styleBuilder);
        }
    }
function ( force , cssText ) { if ( force !== true ) { aria . templates . CSSMgr . __textToDOM ( ariaUtilsObject . keys ( aria . templates . CSSMgr . __styleTagPool ) ) ; } else { // Having an empty text to dom go deeper in the CSSMgr to force a reload var styleBuilder = { } ; for ( var id in aria . templates . CSSMgr . __styleTagPool ) { if ( aria . templates . CSSMgr . __styleTagPool . hasOwnProperty ( id ) ) { styleBuilder [ id ] = ( id === "tpl" && cssText ) ? [ cssText ] : [ ] ; } } aria . templates . CSSMgr . __reloadStyleTags ( styleBuilder ) ; } }
Trigger a refresh of the style tags in the page
@param {Boolean} force If true forces a reload with empty text
@param {String} cssText If force is true, this is the only text added to the style tag "tpl" all the others will
be empty
Trigger a refresh of the style tags in the page