// No longer added by AbstractApplicationServlet/Portlet
root.removeStyleName("v-app-loading");
root.add(this);
BrowserInfo browser = BrowserInfo.get();
// set focus to iview element by default to listen possible keyboard
// shortcuts
if (browser.isOpera() || browser.isSafari()
&& browser.getWebkitVersion() < 526) {
// old webkits don't support focusing div elements
Element fElem = DOM.createInputCheck();
DOM.setStyleAttribute(fElem, "margin", "0");
DOM.setStyleAttribute(fElem, "padding", "0");
DOM.setStyleAttribute(fElem, "border", "0");