WebInspector.StylePropertyTreeElement.createTitle = function(name, style, overloaded, priority, computed) 
WebInspector.StylePropertyTreeElement.createTitle = function(name, style, overloaded, priority, computed, usedProperties) 
WebInspector.StylePropertyTreeElement.createTitle = function(name, style, overloaded, priority, computed){    // "Nicknames" for some common values that are easier to read.    var valueNickname = {        "rgb(0, 0, 0)": "black",        "rgb(255, 255, 255)": "white",        "rgba(0, 0, 0, 0)": "transparent"    };    var value = style.getPropertyValue(name);    var textValue = value;    if (value) {        var urls = value.match(/url\([^)]+\)/);        if (urls) {            for (var i = 0; i < urls.length; ++i) {                var url = urls[i].substring(4, urls[i].length - 1);                textValue = textValue.replace(urls[i], "url(" + WebInspector.linkifyURL(url) + ")");            }        } else {            if (value in valueNickname)                textValue = valueNickname[value];            textValue = textValue.escapeHTML();        }    }    var classes = [];    if (!computed && (style.isPropertyImplicit(name) || value == "initial"))        classes.push("implicit");    if (overloaded)        classes.push("overloaded");    var title = "";    if (classes.length)        title += "<span class=\"" + classes.join(" ") + "\">";    title += "<span class=\"name\">" + name.escapeHTML() + "</span>: ";    title += "<span class=\"value\">" + textValue;    if (priority && priority.length)        title += " !" + priority;    title += "</span>;";    if (value) {        // FIXME: this dosen't catch keyword based colors like black and white        var colors = value.match(/(rgb\([0-9]+,\s?[0-9]+,\s?[0-9]+\))|(rgba\([0-9]+,\s?[0-9]+,\s?[0-9]+,\s?[0-9]+\))/g);        if (colors) {            var colorsLength = colors.length;            for (var i = 0; i < colorsLength; ++i)                title += "<span class=\"swatch\" style=\"background-color: " + colors[i] + "\"></span>";        }    }    if (classes.length)        title += "</span>";    return title;}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/eaec1a4bb43564beee3ce740f8b6672baef2ade3/ResourcePanel.js/clean/WebCore/page/inspector/ResourcePanel.js