Author: sdzmitrovich
Date: 2008-11-26 10:49:25 -0500 (Wed, 26 Nov 2008)
New Revision: 12079
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/area.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/param.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/noembed.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml.xml
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2854
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/area.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/area.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/area.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,14 @@
+<html>
+<head></head>
+
+<body>
+<h1>area</h1>
+
+<img src="/img/image.jpeg" usemap="#map">
+
+<map name="map" id="map" dir="ltr"
class="mapClass" style="color:red;" >
+ <area id="area" href="/">
+</map>
+
+</body>
+</html>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html 2008-11-26
15:48:33 UTC (rev 12078)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -2,7 +2,7 @@
<head></head>
<body>
-<h1>map,area</h1>
+<h1>map</h1>
<img src="/img/image.jpeg" usemap="#map">
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html 2008-11-26
15:48:33 UTC (rev 12078)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -3,7 +3,7 @@
<body>
-<h1>object,param</h1>
+<h1>object</h1>
<object id="object" classid="someClass" width="500"
height="200" align="top"
border="10" class="objectClass" dir="ltr"
id="object"
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/param.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/param.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/param.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,15 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>param</h1>
+
+<object id="object" classid="someClass" width="500"
height="200" align="top"
+ border="10" class="objectClass" dir="ltr"
id="object"
+ style="color: red;" vspace="10">
+ <param id="param" name="someParam" value="5">
+</object>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,17 @@
+<html>
+<head>
+</head>
+
+<body>
+
+<basefont id ="basefont" face="Arial, Helvetica, sans-serif"
size="4" color="red">
+
+<h1>basefont</h1>
+
+
+
+text
+
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/basefont.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,8 @@
+<tests>
+ <test id="basefont">
+ <BASEFONT ID="basefont" FACE="Arial, Helvetica, sans-serif"
+ SIZE="4" COLOR="red" STYLE="-moz-user-modify:
read-write;" />
+ <BR VPE:PSEUDO-ELEMENT="yes"
+ STYLE="font-style: italic; color: green; -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/other/bdo.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,14 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>bdo</h1>
+
+<bdo id="bdo" dir="rtl">some text</bdo>
+
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bdo.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="bdo">
+ <BDO DIR="rtl" STYLE="-moz-user-modify: read-write;" >
+ <SPAN>
+ some text
+ </SPAN>
+ </BDO>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,17 @@
+<html>
+<head>
+<bgsound id="bgsound" dir="rtl">
+some text
+</bdo>
+</head>
+
+<body>
+
+
+<h1>bgsound</h1>
+
+
+
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/bgsound.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="bgsound">
+ <IMG SRC="/bgsound.gif" 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/other/center.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,13 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>center</h1>
+
+<center id="center">text</center>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/center.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="center">
+ <CENTER STYLE="-moz-user-modify: read-write;" ID="center" >
+<SPAN>
+text
+</SPAN>
+</CENTER>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,13 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>embed</h1>
+
+<embed id="embed" src="someSrc"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/embed.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="embed">
+ <EMBED SRC="someSrc"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"
+ STYLE="-moz-user-modify: read-only;" >
+ </EMBED>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,13 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>font</h1>
+
+<font id="font" size="5" color="red"
face="Arial">some text</font>text</p>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/font.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="font">
+ <FONT SIZE="5" FACE="Arial" COLOR="red"
ID="font"
+ STYLE="-moz-user-modify: read-write;" >
+ <SPAN>
+ some text
+ </SPAN>
+ </FONT>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,12 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>font</h1>
+
+<marquee id="marquee" style="color:red;" > Lorem ipsum dolor
sit amet... </marquee>
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/marquee.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="marquee">
+ <MARQUEE STYLE="-moz-user-modify: read-only;" >
+ <SPAN>
+ Lorem ipsum dolor sit amet...
+ </SPAN>
+ </MARQUEE>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,15 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>nobr</h1>
+
+<nobr id="nobr"> text</nobr>
+text
+</p>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/nobr.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="nobr">
+ <NOBR ID="nobr" STYLE="-moz-user-modify: read-only;" >
+ <SPAN>
+ text
+ </SPAN>
+ </NOBR>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/noembed.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/noembed.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/noembed.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,14 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>noembed</h1>
+
+<embed id="embed" src="someSrc"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
+<noembed id="noembed">someText</noembed>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,15 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>wbr</h1>
+
+<nobr id="nobr"> text<wbr id="wbr" /> </nobr>
+text
+</p>
+
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/wbr.html.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,6 @@
+<tests>
+ <test id="wbr">
+ <WBR STYLE="-moz-user-modify: read-only;" ID="wbr" >
+ </WBR>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,32 @@
+<html>
+<head>
+</head>
+
+<body>
+
+
+<h1>xmp</h1>
+<xmp id="xmp">
+ while (<>) {
+ $org=$_;
+ s/\\["']//g;
+ s/\/\/[^:].*//;
+ s/\/\*.*\*\///g;
+ if ($comment == 1) {
+ if (s/.*\*\///) {
+ $comment = 0;
+ }
+ else {
+ next;
+ }
+ }
+ if (s/\/\*.*//) {
+ $comment = 1;
+ }
+ if (/^\s*#/) {
+ next;
+ }
+ }
+</xmp>
+</body>
+</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/other/xmp.xhtml.xml 2008-11-26
15:49:25 UTC (rev 12079)
@@ -0,0 +1,49 @@
+<tests>
+ <test id="xmp">
+ <XMP ID="xmp" STYLE="-moz-user-modify: read-only;" >
+<SPAN><BR _MOZ_DIRTY=""/>
+
+while (<>) {<BR _MOZ_DIRTY=""/>
+
+$org=$_;<BR _MOZ_DIRTY=""/>
+
+s/\\["']//g;<BR _MOZ_DIRTY=""/>
+
+s/\/\/[^:].*//;<BR _MOZ_DIRTY=""/>
+
+s/\/\*.*\*\///g;<BR _MOZ_DIRTY=""/>
+
+if ($comment == 1) {<BR _MOZ_DIRTY=""/>
+
+if (s/.*\*\///) {<BR _MOZ_DIRTY=""/>
+
+$comment = 0;<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+else {<BR _MOZ_DIRTY=""/>
+
+next;<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+if (s/\/\*.*//) {<BR _MOZ_DIRTY=""/>
+
+$comment = 1;<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+if (/^\s*#/) {<BR _MOZ_DIRTY=""/>
+
+next;<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+}<BR _MOZ_DIRTY=""/>
+
+</SPAN>
+</XMP>
+ </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
15:48:33 UTC (rev 12078)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-26
15:49:25 UTC (rev 12079)
@@ -73,6 +73,10 @@
public void testAddress() throws Throwable {
performContentTest("components/core/address.html"); //$NON-NLS-1$
}
+
+ public void testArea() throws Throwable {
+ performInvisibleTagTest("components/core/area.html","area");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
public void testBody() throws Throwable {
performContentTest("components/core/body.html"); //$NON-NLS-1$
@@ -125,6 +129,10 @@
public void testObject() throws Throwable {
performContentTest("components/core/object.html"); //$NON-NLS-1$
}
+
+ public void testParam() throws Throwable {
+ performInvisibleTagTest("components/core/param.html","param");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
public void testStyle() throws Throwable {
fail("it is necessary to add body of the test"); //$NON-NLS-1$
@@ -358,6 +366,55 @@
performContentTest("components/text/var.html"); //$NON-NLS-1$
}
+
+ /*
+ * test for other html tags
+ */
+
+ public void testBaseFont() throws Throwable {
+ performContentTest("components/other/basefont.html"); //$NON-NLS-1$
+ }
+
+ public void testBdo() throws Throwable {
+ performContentTest("components/other/bdo.html"); //$NON-NLS-1$
+ }
+
+ public void testBgsound() throws Throwable {
+ performContentTest("components/other/bgsound.html"); //$NON-NLS-1$
+ }
+
+ public void testCenter() throws Throwable {
+ performContentTest("components/other/center.html"); //$NON-NLS-1$
+ }
+
+ public void testEmbed() throws Throwable {
+ performContentTest("components/other/embed.html"); //$NON-NLS-1$
+ }
+
+ public void testFont() throws Throwable {
+ performContentTest("components/other/font.html"); //$NON-NLS-1$
+ }
+
+ public void testMarquee() throws Throwable {
+ performContentTest("components/other/marquee.html"); //$NON-NLS-1$
+ }
+
+ public void testNobr() throws Throwable {
+ performContentTest("components/other/nobr.html"); //$NON-NLS-1$
+ }
+
+ public void testNoembed() throws Throwable {
+ performInvisibleTagTest("components/other/noembed.html",
"noembed"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testWbr() throws Throwable {
+ performContentTest("components/other/wbr.html"); //$NON-NLS-1$
+ }
+
+ public void testXmp() throws Throwable {
+ performContentTest("components/other/xmp.xhtml"); //$NON-NLS-1$
+ }
+
protected String getTestProjectName() {
return HtmlAllTests.IMPORT_PROJECT_NAME;
}