Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 280065
Collapse All | Expand All

(-)js/org/eclipse/swt/widgets/TableItem.js (-3 / +3 lines)
Lines 301-309 Link Here
301
      node.style.height = height + org.eclipse.swt.widgets.TableItem.PX;
301
      node.style.height = height + org.eclipse.swt.widgets.TableItem.PX;
302
      // set line height to enable vertical centering
302
      // set line height to enable vertical centering
303
      node.style.lineHeight = height + org.eclipse.swt.widgets.TableItem.PX;
303
      node.style.lineHeight = height + org.eclipse.swt.widgets.TableItem.PX;
304
      if( font != "" ) {
304
      if( font == "" && qx.core.Variant.isSet( "qx.client", "mshtml" ) ) {
305
        node.style.font = font;
306
      } else {
307
        // Resetting style.font causes errors in IE with any of these syntaxes:
305
        // Resetting style.font causes errors in IE with any of these syntaxes:
308
        // node.style.font = null | undefined | "inherit" | "";
306
        // node.style.font = null | undefined | "inherit" | "";
309
        node.style.fontFamily = "";
307
        node.style.fontFamily = "";
Lines 311-316 Link Here
311
        node.style.fontVariant = "";
309
        node.style.fontVariant = "";
312
        node.style.fontStyle = "";
310
        node.style.fontStyle = "";
313
        node.style.fontWeight = "";
311
        node.style.fontWeight = "";
312
      } else {
313
        node.style.font = font;
314
      }
314
      }
315
      node.style.color = foreground;
315
      node.style.color = foreground;
316
      node.style.backgroundColor = "";
316
      node.style.backgroundColor = "";

Return to bug 280065