src/aria/ext/StressCss.js
function (selector, incremental) {
        if (!selector) {
            if (incremental) {
                // Everything was removed
                refreshCSS();
            } else {
                // Nothing was be removed
                return;
            }
        } else {
            // Simply put back the original style
            aria.templates.CSSMgr.__textLoaded[selector.location].text = selector.original;
            refreshCSS();
        }
    }
function (selector, incremental) {
        if (!selector) {
            if (incremental) {
                // Everything was removed
                refreshCSS();
            } else {
                // Nothing was be removed
                return;
            }
        } else {
            // Simply put back the original style
            aria.templates.CSSMgr.__textLoaded[selector.location].text = selector.original;
            refreshCSS();
        }
    }
function ( selector , incremental ) { if ( ! selector ) { if ( incremental ) { // Everything was removed refreshCSS ( ) ; } else { // Nothing was be removed return ; } } else { // Simply put back the original style aria . templates . CSSMgr . __textLoaded [ selector . location ] . text = selector . original ; refreshCSS ( ) ; } }
Add back a selector to the page.
@param {Object} selector CSS selector as returned by extractSelectors
Add back a selector to the page .