Author: sdzmitrovich
Date: 2008-11-26 04:50:06 -0500 (Wed, 26 Nov 2008)
New Revision: 12066
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img/
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img/image.jpeg
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/noscript.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html.xml
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2854, corrected templates of html tags, added
option for debugging
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java 2008-11-26
09:21:56 UTC (rev 12065)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java 2008-11-26
09:50:06 UTC (rev 12066)
@@ -10,7 +10,11 @@
******************************************************************************/
package org.jboss.tools.vpe;
+import java.util.Arrays;
+import java.util.List;
+
import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.vpe.editor.util.Constants;
public class VpeDebug {
public static final boolean PRINT_SOURCE_MUTATION_EVENT;
@@ -33,6 +37,8 @@
public static final boolean VISUAL_DUMP_PRINT_HASH;
public static final boolean VISUAL_CONTEXTMENU_TEST;
+
+ public static final List<String> VISUAL_DUMP_IGNORED_ATTRIBUTES ;
// usePrintStackTrace = false - The exception is sent on our site
// usePrintStackTrace = true - The exception is printed through printStackTrace
@@ -57,9 +63,16 @@
VISUAL_CONTEXTMENU_DUMP_SELECTED_ELEMENT =
"true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID +
"/debug/visual/contextmenu/dump_selected_element")); //$NON-NLS-1$
//$NON-NLS-2$
VISUAL_CONTEXTMENU_DUMP_MAPPING =
"true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID +
"/debug/visual/contextmenu/dump_mapping")); //$NON-NLS-1$ //$NON-NLS-2$
VISUAL_DUMP_PRINT_HASH =
"true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID +
"/debug/visual/dump_print_hash")); //$NON-NLS-1$ //$NON-NLS-2$
-
+ VISUAL_DUMP_IGNORED_ATTRIBUTES = Platform
+ .getDebugOption(VpePlugin.PLUGIN_ID
+ + "/debug/visual/ignored_attributes") != null ? Arrays
+ .asList(Platform.getDebugOption(
+ VpePlugin.PLUGIN_ID
+ + "/debug/visual/ignored_attributes").split(
+ Constants.COMMA)) : null;
VISUAL_CONTEXTMENU_TEST =
"true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID +
"/debug/visual/contextmenu/show_test")); //$NON-NLS-1$ //$NON-NLS-2$
USE_PRINT_STACK_TRACE =
"true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID +
"/debug/use_PrintStackTrace")); //$NON-NLS-1$ //$NON-NLS-2$
+
}
}
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-11-26
09:50:06 UTC (rev 12066)
@@ -1623,6 +1623,7 @@
public void run() {
DOMTreeDumper dumper = new DOMTreeDumper(
VpeDebug.VISUAL_DUMP_PRINT_HASH);
+ dumper.setIgnoredAttributes(VpeDebug.VISUAL_DUMP_IGNORED_ATTRIBUTES);
dumper.dumpToStream(System.out, visualEditor
.getDomDocument());
}
@@ -1641,9 +1642,7 @@
DOMTreeDumper dumper = new DOMTreeDumper(
VpeDebug.VISUAL_DUMP_PRINT_HASH);
- List<String> ignoredAttributes = new ArrayList<String>();
- ignoredAttributes.add(HTML.ATTR_TITLE);
- dumper.setIgnoredAttributes(ignoredAttributes);
+ dumper.setIgnoredAttributes(VpeDebug.VISUAL_DUMP_IGNORED_ATTRIBUTES);
dumper.dumpNode(nodeMapping.getVisualNode());
}
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-26
09:21:56 UTC (rev 12065)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -808,11 +808,17 @@
</vpe:tag>
<vpe:tag name="frame" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
+ <vpe:template children="no" modify="no">
+ <frame src="{src(@src)}" bordercolor="{@bordercolor}"
+ frameborder="{@frameborder}" name="{@name}"
noresize="{@noresize}"
+ scrolling="{@scrolling}" />
+ </vpe:template>
</vpe:tag>
<vpe:tag name="frameset" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
+ <vpe:template children="yes" modify="no" >
+ <vpe:copy attrs="border,bordercolor,cols,frameborder,framespacing,rows"
/>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="h1" case-sensitive="no">
@@ -1078,6 +1084,9 @@
<vpe:tag name="iframe" case-sensitive="no">
<vpe:template children="yes" modify="no">
+ <iframe src="{src(@src)}" align="{@align}"
frameborder="{@frameborder}"
+ height="{@height}" hspace="{@hspace}" name="{@name}"
scrolling="{@scrolling}"
+ vspace="{@vspace}" width="{@width}" />
<vpe:dnd>
<vpe:drag start-enable="yes" />
</vpe:dnd>
@@ -1172,7 +1181,9 @@
</vpe:if>
<vpe:if test="@type='image'">
<vpe:template children="no" modify="no">
- <img src="{@src}" width="20" height="20" />
+ <!-- <img src="{@src}" width="20" height="20"
/>-->
+ <input type="image" value="{@value}"
class="{@class}" style="{@style}"
+ size="{@size}" disabled="{@disabled}" width="{@width}"
height="{@height}" border="{@border}" dir="{@dir}"
src="{src(@src)}" />
</vpe:template>
</vpe:if>
<vpe:template children="no" modify="no">
@@ -1395,7 +1406,9 @@
</vpe:tag>
<vpe:tag name="noframes" case-sensitive="no">
- <vpe:template children="yes" modify="no" />
+ <vpe:template children="yes" modify="no" >
+ <vpe:copy />
+ </vpe:template>
</vpe:tag>
<vpe:tag name="noscript" case-sensitive="no">
@@ -1403,7 +1416,6 @@
</vpe:tag>
<vpe:tag name="object" case-sensitive="no">
- <!-- <vpe:template children="no" modify="no" />-->
<vpe:template children="yes" modify="no">
<vpe:copy
attrs="align,classid,code,codebase,codetype,data,height,hspace,type,vspace,width"
/>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img/image.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img/image.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -5,7 +5,7 @@
<h1>button</h1>
-<button>button</button>
+<button id="button" class="buttonClass" dir="ltr"
type="button" value="value" style="color:red;"
>button</button>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="button">
+ <BUTTON ID="button" CLASS="buttonClass" DIR="ltr"
VALUE="value" STYLE="color: red; -moz-user-modify: read-only;">
+<SPAN>
+button
+</SPAN>
+</BUTTON>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -3,14 +3,13 @@
<body>
-<h1>fieldset,legend</h1>
+<h1>fieldset</h1>
-<fieldset>
- <legend>legend</legend>
- <input type="checkbox"> one <br>
- <input type="checkbox"> two<br>
- <input type="submit" value="submit">
-</fieldset>
+<fieldset id="fieldset" class="fieldsetClass" dir="ltr"
+ style="color: red;"><legend>legend</legend> <input
+ type="checkbox"> one <br>
+<input type="checkbox"> two<br>
+<input type="submit" value="submit"></fieldset>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,29 @@
+<tests>
+ <test id="fieldset">
+
+ <FIELDSET ID="fieldset" CLASS="fieldsetClass"
DIR="ltr"
+ STYLE="color: red; -moz-user-modify: read-only;">
+ <LEGEND STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ legend
+</SPAN>
+ </LEGEND>
+ <INPUT TYPE="checkbox" STYLE="-moz-user-modify: read-only;"
/>
+
+ <SPAN>
+ one
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <INPUT TYPE="checkbox" STYLE="-moz-user-modify: read-only;"
/>
+
+ <SPAN>
+ two
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <INPUT TYPE="submit" VALUE="submit"
STYLE="-moz-user-modify: read-write;" />
+
+ </FIELDSET>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -5,7 +5,7 @@
<h1>form</h1>
-<form>
+<form class="formClass" dir="ltr" id="form"
style="color:red;" >
<button>button</button>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,13 @@
+<tests>
+ <test id="form">
+
+ <FORM CLASS="formClass" DIR="ltr" ID="form"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <BUTTON STYLE="-moz-user-modify: read-only;">
+ <SPAN>
+ button
+ </SPAN>
+ </BUTTON>
+ </FORM>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -7,15 +7,15 @@
<h4>input</h4>
-<input name="unput" value="input">
+<input id="input" name="input" value="input"
class="inputClass" style="color:red;" >
<h4>checkbox</h4>
-<input type="checkbox" name="" value="">
+<input id="checkbox" type="checkbox" name="checkbox"
value="checkbox" class="checkboxClass" dir="ltr"
checked="checked" style="color: red;">
<h4>file</h4>
-<input type="file" name="">
+<input id="file" align="top" dir="ltr"
class="fileClass" value="value" width="50"
height="20" type="file" name="name"
style="color:red" size="30" disabled="disabled"
readonly="readonly" src="src">
<h4>hidden</h4>
@@ -23,31 +23,31 @@
<h4>input button</h4>
-<input type="button" value="input button">
+<input id="button" type="button" value="input button"
dir="ltr" class="buttonClass" style="color:red;" >
-<h4>input image</h4>
+<h4><input id="image" type="image"
src="/img/image.jpeg" class="imageClass" style="color:red;"
width="40" height="40">input image</h4>
-<input type=image src="img/image.jpeg">
+
<h4>password</h4>
-<input type="password" name="someName"
value="password">
+<input id="password" type="password" name="someName"
value="password" class="passwordClass" style="color:red;"
dir="ltr" size="40">
<h4>radio</h4>
-<input type="radio" name="someName"
value="someValue">
+<input id="radio" style="color:red;" checked="checked"
dir="ltr" type="radio" name="someName"
value="someValue">
-<h4>reset</h4>
+<h5>reset</h5>
-<input type="reset">
+<input type="reset" id="reset" style="color:red"
class="resetClass">
<h4>submit</h4>
-<input type="submit" value="submit">
+<input id="submit" type="submit" value="submit"
class="submitClass" dir="ltr" style="color:red;">
<h4>text</h4>
-<input type="text" name="someName" value="value">
+<input type="text" name="someName" value="value"
id="text" class="textClass" style="color:red;"
size="40" dir="ltr">
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,47 @@
+<tests>
+ <test id="checkbox">
+ <INPUT TYPE="checkbox" ID="checkbox"
CLASS="checkboxClass"
+ CHECKED="checked" STYLE="color: red; -moz-user-modify: read-only;"
/>
+ </test>
+ <test id="file">
+ <INPUT TYPE="file" SIZE="30"
+ STYLE="color: red; -moz-user-modify: read-only;" VALUE="value"
/>
+ </test>
+ <test id="input">
+ <INPUT ID="input" VALUE="input" CLASS="inputClass"
+ STYLE="color: red; -moz-user-modify: read-only;" />
+ </test>
+ <test id="button">
+ <INPUT TYPE="button" ID="button" VALUE="input button"
DIR="ltr"
+ CLASS="buttonClass" STYLE="color: red; -moz-user-modify:
read-write;" />
+
+ </test>
+ <test id="image">
+ <INPUT WIDTH="40" TYPE="image" HEIGHT="40"
CLASS="imageClass"
+ SRC="/.*ve/unresolved_image.gif/" STYLE="color: red; -moz-user-modify:
read-only;" />
+ </test>
+ <test id="password">
+ <INPUT TYPE="password" ID="password" VALUE="password"
CLASS="passwordClass"
+ STYLE="color: red; -moz-user-modify: read-only;" DIR="ltr"
SIZE="40" />
+ </test>
+ <test id="radio">
+ <INPUT TYPE="radio" ID="radio"
+ STYLE="color: red; -moz-user-modify: read-only;" CHECKED="checked"
/>
+ </test>
+
+ <test id="reset">
+ <INPUT TYPE="reset" ID="reset"
+ STYLE="color: red; -moz-user-modify: read-write;"
CLASS="resetClass"
+ VALUE="Reset" />
+ </test>
+ <test id="submit">
+ <INPUT TYPE="submit" ID="submit" VALUE="submit"
CLASS="submitClass"
+ DIR="ltr" STYLE="color: red; -moz-user-modify: read-write;" />
+
+ </test>
+ <test id="text">
+ <INPUT TYPE="text" VALUE="value" ID="text"
CLASS="textClass"
+ STYLE="color: red; -moz-user-modify: read-only;" SIZE="40"
DIR="ltr" />
+
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -5,7 +5,7 @@
<h1>label</h1>
-<label> label Value </label>
+<label id="label" class="labelClass" dir="ltr"
style="color:red;"> label Value </label>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="label">
+ <LABEL ID="label" CLASS="labelClass" DIR="ltr"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ label Value
+ </SPAN>
+ </LABEL>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,16 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>legend</h1>
+
+<fieldset>
+ <legend dir="ltr" id="legend" class="legendClass"
style="color:red;" >legend</legend>
+ <input type="checkbox"> one <br>
+ <input type="checkbox"> two<br>
+ <input type="submit" value="submit">
+</fieldset>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/legend.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="legend">
+ <LEGEND DIR="ltr" ID="legend" CLASS="legendClass"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ legend
+ </SPAN>
+ </LEGEND>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>optgroup</h1>
+
+<select>
+ <optgroup label="color" class="optgroupClass"
id="optgroup" dir="ltr" style="color:red;">
+ <option value="c1">orange</option>
+ <option value="c2">lemon</option>
+ </optgroup>
+
+ <optgroup label="tone">
+ <option value="s1">light</option>
+ <option value="s2">normal</option>
+ <option value="s3">deep</option>
+ </optgroup>
+</select>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/optgroup.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="optgroup">
+ <OPTGROUP LABEL="color" CLASS="optgroupClass"
ID="optgroup"
+ DIR="ltr" STYLE="color: red; -moz-user-modify: read-only;">
+ <OPTION VALUE="c1" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ orange
+ </SPAN>
+ </OPTION>
+ <OPTION VALUE="c2" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ lemon
+ </SPAN>
+ </OPTION>
+ </OPTGROUP>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>option</h1>
+
+<select>
+ <optgroup label="color">
+ <option id="option" class="optionClass" dir="ltr"
disabled="disabled" selected="selected" style="color:red"
value="c1" >orange</option>
+ <option value="c2">lemon</option>
+ </optgroup>
+
+ <optgroup label="tone">
+ <option value="s1">light</option>
+ <option value="s2">normal</option>
+ <option value="s3">deep</option>
+ </optgroup>
+</select>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/option.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="option">
+ <OPTION ID="option" CLASS="optionClass" DIR="ltr"
DISABLED="disabled"
+ SELECTED="selected" STYLE="color: red; -moz-user-modify:
read-write;"
+ VALUE="c1">
+ <SPAN>
+ orange
+ </SPAN>
+ </OPTION>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -3,9 +3,9 @@
<body>
-<h1>select,optgroup,option</h1>
+<h1>select</h1>
-<select>
+<select class="selectClass" dir="ltr" id="select"
size="10" multiple="multiple" disabled="disabled"
style="color:red;">
<optgroup label="color">
<option value="c1">orange</option>
<option value="c2">lemon</option>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,36 @@
+<tests>
+ <test id="select">
+ <SELECT CLASS="selectClass" DIR="ltr" ID="select"
SIZE="10"
+ DISABLED="disabled" STYLE="color: red; -moz-user-modify:
read-write;">
+ <OPTGROUP LABEL="color" STYLE="-moz-user-modify:
read-only;">
+ <OPTION VALUE="c1" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ orange
+</SPAN>
+ </OPTION>
+ <OPTION VALUE="c2" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ lemon
+</SPAN>
+ </OPTION>
+ </OPTGROUP>
+ <OPTGROUP LABEL="tone" STYLE="-moz-user-modify:
read-only;">
+ <OPTION VALUE="s1" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ light
+</SPAN>
+ </OPTION>
+ <OPTION VALUE="s2" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ normal
+</SPAN>
+ </OPTION>
+ <OPTION VALUE="s3" STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ deep
+</SPAN>
+ </OPTION>
+ </OPTGROUP>
+ </SELECT>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -5,8 +5,9 @@
<h1>textArea</h1>
-<textarea cols="10" rows="2">
-
+<textarea cols="10" rows="2" id="textArea"
class="textAreaClass"
+ dir="ltr" style="color: red;" disabled="disabled">
+ value
</textarea>
</body>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,8 @@
+<tests>
+ <test id="textArea">
+ <TEXTAREA COLS="10" ROWS="2" ID="textArea"
CLASS="textAreaClass"
+ STYLE="color: red; -moz-user-modify: read-only;">
+ value
+ </TEXTAREA>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<frameset cols="100,*,20%">
+ <frame id="frame" src="temp/left.html"
name="leftFrame">
+ <frame src="temp/right.html" name="mainFrame"
+ frameborder="0">
+ <noframes >
+ your browser don't support frames
+ </noframes>
+</frameset>
+
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frame.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="frame">
+ <FRAME NAME="leftFrame" SRC="/.*temp/left.html/"
STYLE="-moz-user-modify: read-only;" />
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -1,11 +1,11 @@
<html>
<head></head>
-<frameset cols="100,*,20%">
- <frame src="pages/html/frames/temp/left.html"
name="leftFrame">
- <frame src="pages/html/frames/temp/right.html" name="mainFrame"
+<frameset id="frameset" cols="100,*,20%">
+ <frame src="temp/left.html" name="leftFrame">
+ <frame src="temp/right.html" name="mainFrame"
frameborder="0">
- <noframes>
+ <noframes >
your browser don't support frames
</noframes>
</frameset>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,16 @@
+<tests>
+ <test id="frameset">
+ <FRAMESET COLS="100,*,20%" STYLE="-moz-user-modify:
read-only;">
+ <FRAME NAME="leftFrame" SRC="/.*temp/left.html/"
STYLE="-moz-user-modify: read-only;" />
+
+ <FRAME FRAMEBORDER="0" NAME="mainFrame"
SRC="/.*temp/right.html/"
+ STYLE="-moz-user-modify: read-only;" />
+
+ <NOFRAMES STYLE="-moz-user-modify: read-only;">
+ <SPAN>
+ your browser don't support frames
+ </SPAN>
+ </NOFRAMES>
+ </FRAMESET>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -5,7 +5,7 @@
<h1>iframe</h1>
-<iframe src="pages/html/frames/temp/ifr.html" width="468"
height="60"
+<iframe id="iframe" src="temp/ifr.html" width="468"
height="60"
align="left"> your browser doesn't support iframes </iframe>
</body>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="iframe">
+ <IFRAME WIDTH="468" HEIGHT="60" ALIGN="left"
+ SRC="/.*temp/ifr.html/"
+ STYLE="-moz-user-modify: read-only;">
+ <SPAN>
+ your browser doesn't support iframes
+ </SPAN>
+ </IFRAME>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<frameset cols="100,*,20%">
+ <frame src="temp/left.html" name="leftFrame">
+ <frame src="temp/right.html" name="mainFrame"
+ frameborder="0">
+ <noframes id="noframes" >
+ your browser don't support frames
+ </noframes>
+</frameset>
+
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/noframes.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="noframes">
+ <NOFRAMES ID="noframes" STYLE="-moz-user-modify:
read-only;">
+ <SPAN>
+ your browser don't support frames
+ </SPAN>
+ </NOFRAMES>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/noscript.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/noscript.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/noscript.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,17 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>noscript</h1>
+
+<script type="text/javascript">
+ alert("Hello, world!")
+</script>
+<noscript id="noscript">
+<p>Your browser doesn't support scripts</p>
+</noscript>
+
+
+</body>
+</html>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -3,9 +3,9 @@
<body>
-<h1>script,noscript</h1>
+<h1>script</h1>
-<script type="text/javascript">
+<script id="script" type="text/javascript">
alert("Hello, world!")
</script>
<noscript>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,36 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>caption</h1>
+
+<table width="600" border="1">
+ <caption id="caption" class="captionClass" dir="ltr"
style="color:red;">caption of a table</caption>
+ <thead>
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th>head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot>
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/caption.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="caption">
+ <CAPTION ID="caption" CLASS="captionClass" DIR="ltr"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ caption of a table
+</SPAN>
+ </CAPTION>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>col</h1>
+
+<table width="400" border="0" cellpadding="5"
cellspacing="0">
+ <colgroup width="150">
+ <colgroup span="9" align="center" width="50">
+ <col id="col" span="5">
+ <col span="4">
+ <tr>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ </tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/col.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="col">
+ <COL SPAN="5" ID="col" STYLE="-moz-user-modify:
read-only;" />
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>colgroup</h1>
+
+<table width="400" border="0" cellpadding="5"
cellspacing="0">
+ <colgroup id="colgroup" width="150">
+ <colgroup span="9" align="center" width="50">
+ <col span="5">
+ <col span="4">
+ <tr>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ </tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/colgroup.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,6 @@
+<tests>
+ <test id="colgroup">
+ <COLGROUP WIDTH="150" ID="colgroup"
STYLE="-moz-user-modify: read-write;">
+ </COLGROUP>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -3,9 +3,9 @@
<body>
-<h1>table,colgroup,col,tr,td</h1>
+<h1>table</h1>
-<table width="400" border="0" cellpadding="5"
cellspacing="0">
+<table id="table" width="400" border="0"
cellpadding="5" cellspacing="0">
<colgroup width="150">
<colgroup span="9" align="center" width="50">
<col span="5">
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,42 @@
+<tests>
+ <test id="table">
+ <TABLE WIDTH="400" CELLSPACING="0" CELLPADDING="5"
BORDER="0"
+ ID="table" STYLE="-moz-user-modify: read-write;" >
+ <COLGROUP WIDTH="150" STYLE="-moz-user-modify:
read-write;">
+ </COLGROUP>
+ <COLGROUP WIDTH="50" ALIGN="center" SPAN="9"
+ STYLE="-moz-user-modify: read-write;">
+ <COL SPAN="5" STYLE="-moz-user-modify: read-only;" />
+
+ <COL SPAN="4" STYLE="-moz-user-modify: read-only;" />
+
+ </COLGROUP>
+ <TR STYLE="-moz-user-modify: read-write;">
+ <TD
+ STYLE="background: rgb(176, 178, 142) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </TD>
+ <TD
+ STYLE="background: rgb(204, 204, 204) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </TD>
+ <TD
+ STYLE="background: rgb(176, 178, 142) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </TD>
+ <TD
+ STYLE="background: rgb(204, 204, 204) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </TD>
+ </TR>
+ </TABLE>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,36 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>tbody</h1>
+
+<table width="600" border="1">
+ <caption>caption of a table</caption>
+ <thead>
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th>head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot>
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right" id="tbody" class="tbody"
style="color:red">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tbody.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,19 @@
+<tests>
+ <test id="tbody">
+ <TBODY ALIGN="right" ID="tbody" CLASS="tbody"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <TR STYLE="-moz-user-modify: read-write;">
+ <TD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ body text 1
+ </SPAN>
+ </TD>
+ <TD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ body text 2
+ </SPAN>
+ </TD>
+ </TR>
+ </TBODY>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>td</h1>
+
+<table width="400" border="0" cellpadding="5"
cellspacing="0">
+ <colgroup width="150">
+ <colgroup span="9" align="center" width="50">
+ <col span="5">
+ <col span="4">
+ <tr>
+ <td id="td" style="background: #B0B28E"
class="tdClass">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ </tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/td.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="td">
+ <TD ID="td"
+ STYLE="background: rgb(176, 178, 142) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;"
+ CLASS="tdClass">
+ <SPAN>
+ Some Text
+</SPAN>
+ </TD>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,37 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>tfoot</h1>
+
+<table width="600" border="1">
+ <caption>caption of a table</caption>
+ <thead>
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th>head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot id="tfoot" class="tfootClass" style="color:
red;" dir="ltr"
+ align="left" valign="top">
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tfoot.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,19 @@
+<tests>
+ <test id="tfoot">
+ <TFOOT VALIGN="top" ALIGN="left" ID="tfoot"
CLASS="tfootClass"
+ STYLE="color: red; -moz-user-modify: read-only;" DIR="ltr">
+ <TR STYLE="-moz-user-modify: read-write;">
+ <TD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ foot text 1
+ </SPAN>
+ </TD>
+ <TD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ foot text 2
+ </SPAN>
+ </TD>
+ </TR>
+ </TFOOT>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,36 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>th</h1>
+
+<table width="600" border="1">
+ <caption>caption of a table</caption>
+ <thead>
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th id="th" style="color: red;"
class="thClass">head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot>
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/th.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="th">
+ <TH ID="th" STYLE="color: red; -moz-user-modify: read-write;"
+ CLASS="thClass">
+ <SPAN>
+ head 1
+ </SPAN>
+ </TH>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,36 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>thead</h1>
+
+<table width="600" border="1">
+ <caption>caption of a table</caption>
+ <thead id="thead" align="right" dir="ltr"
style="color:red;" class="theadClass">
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th>head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot>
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/thead.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,18 @@
+<tests>
+ <test id="thead">
+<THEAD ALIGN="right" ID="thead" DIR="ltr"
STYLE="color: red; -moz-user-modify: read-only;"
CLASS="theadClass">
+<TR STYLE="-moz-user-modify: read-write;">
+<TD STYLE="-moz-user-modify: read-write;">
+<SPAN>
+heading 1
+</SPAN>
+</TD>
+<TD STYLE="-moz-user-modify: read-write;">
+<SPAN>
+heading 2
+</SPAN>
+</TD>
+</TR>
+</THEAD>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>tr</h1>
+
+<table width="400" border="0" cellpadding="5"
cellspacing="0">
+ <colgroup width="150">
+ <colgroup span="9" align="center" width="50">
+ <col span="5">
+ <col span="4">
+ <tr id="tr" class="trClass" style="color:red;">
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ </tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/tr.html.xml 2008-11-26
09:50:06 UTC (rev 12066)
@@ -0,0 +1,26 @@
+<tests>
+ <test id="tr">
+ <TR ID="tr" CLASS="trClass" STYLE="color: red;
-moz-user-modify: read-write;">
+<TD STYLE="background: rgb(176, 178, 142) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+<SPAN>
+Some Text
+</SPAN>
+</TD>
+<TD STYLE="background: rgb(204, 204, 204) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+<SPAN>
+Some Text
+</SPAN>
+</TD>
+<TD STYLE="background: rgb(176, 178, 142) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+<SPAN>
+Some Text
+</SPAN>
+</TD>
+<TD STYLE="background: rgb(204, 204, 204) none repeat scroll 0% 50%;
-moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial; -moz-user-modify: read-write;">
+<SPAN>
+Some Text
+</SPAN>
+</TD>
+</TR>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-26
09:50:06 UTC (rev 12066)
@@ -63,6 +63,198 @@
}
/*
+ * test for core html tags
+ */
+
+ public void testA() throws Throwable {
+ performContentTest("components/core/a.html"); //$NON-NLS-1$
+ }
+
+ public void testAddress() throws Throwable {
+ performContentTest("components/core/address.html"); //$NON-NLS-1$
+ }
+
+ public void testBody() throws Throwable {
+ performContentTest("components/core/body.html"); //$NON-NLS-1$
+ }
+
+ public void testH1() throws Throwable {
+ performContentTest("components/core/h1.html"); //$NON-NLS-1$
+ }
+
+ public void testH2() throws Throwable {
+ performContentTest("components/core/h2.html"); //$NON-NLS-1$
+ }
+
+ public void testH3() throws Throwable {
+ performContentTest("components/core/h3.html"); //$NON-NLS-1$
+ }
+
+ public void testH4() throws Throwable {
+ performContentTest("components/core/h4.html"); //$NON-NLS-1$
+ }
+
+ public void testH5() throws Throwable {
+ performContentTest("components/core/h5.html"); //$NON-NLS-1$
+ }
+
+ public void testH6() throws Throwable {
+ performContentTest("components/core/h6.html"); //$NON-NLS-1$
+ }
+
+ public void testHead() throws Throwable {
+ performContentTest("components/core/head.html"); //$NON-NLS-1$
+ }
+
+ public void testHtml() throws Throwable {
+ performContentTest("components/core/html.html"); //$NON-NLS-1$
+ }
+
+ public void testImg() throws Throwable {
+ performContentTest("components/core/img.html"); //$NON-NLS-1$
+ }
+
+ public void testLink() throws Throwable {
+ fail("it is necessary to add body of the test"); //$NON-NLS-1$
+ }
+
+ public void testMap() throws Throwable {
+ performContentTest("components/core/map.html"); //$NON-NLS-1$
+ }
+
+ public void testObject() throws Throwable {
+ performContentTest("components/core/object.html"); //$NON-NLS-1$
+ }
+
+ public void testStyle() throws Throwable {
+ fail("it is necessary to add body of the test"); //$NON-NLS-1$
+ }
+
+ public void testTitle() throws Throwable {
+ performContentTest("components/core/title.html"); //$NON-NLS-1$
+ }
+
+ /*
+ * test for form html tags
+ */
+
+ public void testButton() throws Throwable {
+ performContentTest("components/form/button.html"); //$NON-NLS-1$
+ }
+
+ public void testFieldset() throws Throwable {
+ performContentTest("components/form/fieldset.html"); //$NON-NLS-1$
+ }
+
+ public void testForm() throws Throwable {
+ performContentTest("components/form/form.html"); //$NON-NLS-1$
+ }
+
+ public void testInput() throws Throwable {
+ performContentTest("components/form/input.html"); //$NON-NLS-1$
+ }
+
+ public void testLabel() throws Throwable {
+ performContentTest("components/form/label.html"); //$NON-NLS-1$
+ }
+
+ public void testLegend() throws Throwable {
+ performContentTest("components/form/legend.html"); //$NON-NLS-1$
+ }
+
+ public void testOptgroup() throws Throwable {
+ performContentTest("components/form/optgroup.html"); //$NON-NLS-1$
+ }
+
+ public void testOption() throws Throwable {
+ performContentTest("components/form/option.html"); //$NON-NLS-1$
+ }
+
+ public void testSelect() throws Throwable {
+ performContentTest("components/form/select.html"); //$NON-NLS-1$
+ }
+
+ public void testTextArea() throws Throwable {
+ performContentTest("components/form/textArea.html"); //$NON-NLS-1$
+ }
+
+ /*
+ * test for frames html tags
+ */
+
+ public void testFrame() throws Throwable {
+ performContentTest("components/frames/frame.html"); //$NON-NLS-1$
+ }
+
+ public void testFrameset() throws Throwable {
+ performContentTest("components/frames/frameset.html"); //$NON-NLS-1$
+ }
+
+ public void testIframe() throws Throwable {
+ performContentTest("components/frames/iframe.html"); //$NON-NLS-1$
+ }
+
+ public void testNoframes() throws Throwable {
+ performContentTest("components/frames/noframes.html"); //$NON-NLS-1$
+ }
+
+ /*
+ * test for script html tags
+ */
+
+ public void testScript() throws Throwable {
+ performInvisibleTagTest("components/scripts/script.html",
"script"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testNoscript() throws Throwable {
+ performInvisibleTagTest("components/scripts/noscript.html",
"noscript"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ /*
+ * test for table html tags
+ */
+
+ public void testCaption() throws Throwable {
+ performContentTest("components/table/caption.html"); //$NON-NLS-1$
+ }
+
+ public void testCol() throws Throwable {
+ performContentTest("components/table/col.html"); //$NON-NLS-1$
+ }
+
+ public void testColgroup() throws Throwable {
+ performContentTest("components/table/colgroup.html"); //$NON-NLS-1$
+ }
+
+ public void testTable() throws Throwable {
+ performContentTest("components/table/table.html"); //$NON-NLS-1$
+ }
+
+ public void testTbody() throws Throwable {
+ performContentTest("components/table/tbody.html"); //$NON-NLS-1$
+ }
+
+ public void testTd() throws Throwable {
+ performContentTest("components/table/td.html"); //$NON-NLS-1$
+ }
+
+ public void testTfoot() throws Throwable {
+ performContentTest("components/table/tfoot.html"); //$NON-NLS-1$
+ }
+
+ public void testTh() throws Throwable {
+ performContentTest("components/table/th.html"); //$NON-NLS-1$
+ }
+
+ public void testThead() throws Throwable {
+ performContentTest("components/table/thead.html"); //$NON-NLS-1$
+ }
+
+ public void testTr() throws Throwable {
+ performContentTest("components/table/tr.html"); //$NON-NLS-1$
+ }
+
+ /*
* test for text html tags
*/
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-26
09:21:56 UTC (rev 12065)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-26
09:50:06 UTC (rev 12066)
@@ -67,9 +67,9 @@
"components/core/address.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
- public void testBasic() throws Throwable {
+ public void testBody() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/basic.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/core/body.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testImg() throws Throwable {