rem: } client.input.style.direction = direction; e.sourceObject.frame.contentDocument.body.style.direction = direction;  
add: } client.input.setAttribute("dir", direction); sourceObject.setAttribute("dir", direction);  
context: function cmdTextDirection(e){    var direction;        switch (e.dir)    {        case "toggle":            sourceObject = e.sourceObject.frame.contentDocument.body;            if (window.getComputedStyle(sourceObject, null).direction == "ltr")                direction = 'rtl';            else                direction = 'ltr';                  break;        case "rtl":            direction = 'rtl';            break;        default:            // that is "case "ltr":",            // but even if !e.dir OR e.dir is an invalid value -> set to default direction            direction = 'ltr';    }      client.input.style.direction = direction;    e.sourceObject.frame.contentDocument.body.style.direction = direction;        return true;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/0918cade427e1856c2e2bcfdefa8b4ea3e457b73/commands.js/clean/xul/content/commands.js