Author: mareshkau
Date: 2011-02-11 10:29:36 -0500 (Fri, 11 Feb 2011)
New Revision: 29116
Modified:
branches/jbosstools-3.2.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3473Test.java
branches/jbosstools-3.2.x/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java
Log:
https://issues.jboss.org/browse/JBIDE-8364
Modified:
branches/jbosstools-3.2.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3473Test.java
===================================================================
---
branches/jbosstools-3.2.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3473Test.java 2011-02-11
13:52:11 UTC (rev 29115)
+++
branches/jbosstools-3.2.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3473Test.java 2011-02-11
15:29:36 UTC (rev 29116)
@@ -81,8 +81,8 @@
Rectangle boundsAfterInsert =
getBoundsOfElementById(vpeController.getXulRunnerEditor().getDOMDocument(), TABLE_ID);
assertNotNull("boundsAfterInsert should be not null.", boundsAfterInsert);
//$NON-NLS-1$
- assertEquals("Width of the table has been changed.",
boundsBeforeInsert.width, boundsAfterInsert.width); //$NON-NLS-1$
- assertEquals("Height of the table has been changed.",
boundsBeforeInsert.height, boundsAfterInsert.height); //$NON-NLS-1$
+ assertEquals("Width of the table has been changed.",
boundsBeforeInsert.width, boundsAfterInsert.width-4); //$NON-NLS-1$
+ assertEquals("Height of the table has been changed.",
boundsBeforeInsert.height, boundsAfterInsert.height-4); //$NON-NLS-1$
if(getException()!=null) {
throw getException();
Modified:
branches/jbosstools-3.2.x/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java
===================================================================
---
branches/jbosstools-3.2.x/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java 2011-02-11
13:52:11 UTC (rev 29115)
+++
branches/jbosstools-3.2.x/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java 2011-02-11
15:29:36 UTC (rev 29116)
@@ -18,7 +18,7 @@
private inIFlasher iFlasher;
private static final boolean IS_OPEN_JDK =
(System.getProperty("java.runtime.name")!=null&&System.getProperty("java.runtime.name").contains("OpenJDK"));
//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
//fix for JBIDE-7957
- private static final boolean
IS_LINUX_X86_64=Platform.OS_LINUX.equals(Platform.getOS())&&Platform.ARCH_X86_64.equals(Platform.getOSArch());
+ private static final boolean IS_LINUX=Platform.OS_LINUX.equals(Platform.getOS());
// added by Maksim Areshkau as element for which we
// have drowed border. When we draw new border,
// we should remove old one;
@@ -34,7 +34,7 @@
//fix for JBIDE-7295, added by Maksim Areshkau
if (Platform.OS_MACOSX.equals(Platform.getOS())
||IS_OPEN_JDK
- ||IS_LINUX_X86_64) {
+ ||IS_LINUX) {
drawOutline = new DrawOutlineInterface() {
private nsIDOMElement lastBorderedElement = null;
public void drawElementOutline(nsIDOMElement domElement) {