bug 298912 evaluate if the element is displayed
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex.core/src/org/eclipse/wst/xml/vex/core/internal/css/Styles.java b/sourceediting/plugins/org.eclipse.wst.xml.vex.core/src/org/eclipse/wst/xml/vex/core/internal/css/Styles.java
index 7b9b681..b8727a6 100644
--- a/sourceediting/plugins/org.eclipse.wst.xml.vex.core/src/org/eclipse/wst/xml/vex/core/internal/css/Styles.java
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex.core/src/org/eclipse/wst/xml/vex/core/internal/css/Styles.java
@@ -135,6 +135,13 @@
 	}
 
 	/**
+	 * @return true if the <code>display</code> property is not 'none'.
+	 */
+	public boolean isDisplayed() {
+		return !CSS.NONE.equals(getDisplay());
+	}
+	
+	/**
 	 * Returns the value of the <code>font</code> property.
 	 */
 	public FontSpec getFont() {