src/aria/ext/StressCss.js
function (includeWidgetCSS) {
        // __textLoaded contains a copy of what is inside the DOM
        var cm = aria.templates.CSSMgr, all = cm.__textLoaded;
        var selectors = [];
        for (var path in all) {
            if (all.hasOwnProperty(path)) {
                if (includeWidgetCSS !== true && cm.__styleTagAssociation[path] === "wgt") {
                    continue;
                }
                selectors = selectors.concat(extractSelectors(all[path].text, path));
            }
        }

        return selectors;
    }
function (includeWidgetCSS) {
        // __textLoaded contains a copy of what is inside the DOM
        var cm = aria.templates.CSSMgr, all = cm.__textLoaded;
        var selectors = [];
        for (var path in all) {
            if (all.hasOwnProperty(path)) {
                if (includeWidgetCSS !== true && cm.__styleTagAssociation[path] === "wgt") {
                    continue;
                }
                selectors = selectors.concat(extractSelectors(all[path].text, path));
            }
        }

        return selectors;
    }
function ( includeWidgetCSS ) { // __textLoaded contains a copy of what is inside the DOM var cm = aria . templates . CSSMgr , all = cm . __textLoaded ; var selectors = [ ] ; for ( var path in all ) { if ( all . hasOwnProperty ( path ) ) { if ( includeWidgetCSS !== true && cm . __styleTagAssociation [ path ] === "wgt" ) { continue ; } selectors = selectors . concat ( extractSelectors ( all [ path ] . text , path ) ) ; } } return selectors ; }
Get the list of CSS selectors in the page.
@return {Array} List of CSS selectors to test
Get the list of CSS selectors in the page .