src/modules/rangy-textrange.js
function getComputedDisplay(el, win) {
        var display = getComputedStyleProperty(el, "display", win);
        var tagName = el.tagName.toLowerCase();
        return (display == "block" &&
                tableCssDisplayBlock &&
                defaultDisplayValueForTag.hasOwnProperty(tagName)) ?
            defaultDisplayValueForTag[tagName] : display;
    }
function getComputedDisplay(el, win) {
        var display = getComputedStyleProperty(el, "display", win);
        var tagName = el.tagName.toLowerCase();
        return (display == "block" &&
                tableCssDisplayBlock &&
                defaultDisplayValueForTag.hasOwnProperty(tagName)) ?
            defaultDisplayValueForTag[tagName] : display;
    }
function getComputedDisplay ( el , win ) { var display = getComputedStyleProperty ( el , "display" , win ) ; var tagName = el . tagName . toLowerCase ( ) ; return ( display == "block" && tableCssDisplayBlock && defaultDisplayValueForTag . hasOwnProperty ( tagName ) ) ? defaultDisplayValueForTag [ tagName ] : display ; }
Corrects IE's "block" value for table-related elements
Corrects IE s block value for table - related elements