Author: dmaliarevich
Date: 2009-06-17 03:24:51 -0400 (Wed, 17 Jun 2009)
New Revision: 16002
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4439, JUnits for rich:layoutPanel width
processing were added.
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml.xml 2009-06-17
07:24:51 UTC (rev 16002)
@@ -0,0 +1,451 @@
+<tests>
+ <test id="id1">
+
+ <DIV CLASS="rich-page styleClass" STYLE="width: 1000px;
background-color: white;">
+ <DIV CLASS="rich-page-header headerClass">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader subheaderClass">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar sidebarClass" STYLE="width: 15em;
float: right;">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main" STYLE="float: left; margin-right:
-30em;">
+ <DIV CLASS="rich-page-body bodyClass" STYLE="margin-right:
15em;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ NO WEIGHTS
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="float: left; width: 25%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="35%" STYLE="float: left; width: 35%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 40%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="90%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20%" STYLE="float: left; width: 20%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 40%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 40%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="80%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="float: left; width: 18.52%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: left; width: 48.15%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="45%" STYLE="float: right; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="10%" STYLE="float: left; width: 16.67%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20%" STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30%" STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WIDTHS SUM MORE THAN 100 NOT EVERYWHERE
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="float: left; width: 165%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER LEFT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: left; width: 65%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="float: left; width: 165%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER RIGHT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="float: left; width: 165%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: right; width: 65%;">
+ <DIV >
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer footerClass">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidths.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml.xml 2009-06-17
07:24:51 UTC (rev 16002)
@@ -0,0 +1,450 @@
+<tests>
+ <test id="id1">
+
+ <DIV CLASS="rich-page styleClass" STYLE="width: 1000px;
background-color: white;">
+ <DIV CLASS="rich-page-header headerClass">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader subheaderClass">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar sidebarClass" STYLE="width: 15em;
float: right;">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main" STYLE="float: left; margin-right:
-30em;">
+ <DIV CLASS="rich-page-body bodyClass" STYLE="margin-right:
15em;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ PX EM % </SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30em" STYLE="float: left; width: 30em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30%" STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30" STYLE="float: right; width: 30px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25%" STYLE="float: left; width: 25%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="35" STYLE="float: left; width: 35px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 75%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="90%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20em" STYLE="float: left; width: 20em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="80%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25em" STYLE="float: left; width: 25em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: left; width: 65px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="45%" STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="10%" STYLE="float: left; width: 10%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 90%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30em" STYLE="float: right; width: 30em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WIDTHS SUM MORE THAN 100 NOT EVERYWHERE
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: left; width: 65em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: right; width: 65px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="float: left; width: 165%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="300" STYLE="float: right; width: 300px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER LEFT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: left; width: 65px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165em" STYLE="float: left; width: 165em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER RIGHT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100%" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 35%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165" STYLE="float: left; width: 165px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65%" STYLE="float: right; width: 65%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100%" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer footerClass">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsDifferent.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml.xml 2009-06-17
07:24:51 UTC (rev 16002)
@@ -0,0 +1,451 @@
+<tests>
+ <test id="id1">
+
+ <DIV CLASS="rich-page styleClass" STYLE="width: 1000px;
background-color: white;">
+ <DIV CLASS="rich-page-header headerClass">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader subheaderClass">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar sidebarClass" STYLE="width: 15em;
float: right;">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main" STYLE="float: left; margin-right:
-30em;">
+ <DIV CLASS="rich-page-body bodyClass" STYLE="margin-right:
15em;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ NO WEIGHTS
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;" >
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25em" STYLE="float: left; width: 25em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="35em" STYLE="float: left; width: 35em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHTS NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="90em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20em" STYLE="float: left; width: 20em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="80em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25em" STYLE="float: left; width: 25em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: left; width: 65em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="45em" STYLE="float: right; width: 45em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTHS SUM LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="10em" STYLE="float: left; width: 10em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20em" STYLE="float: left; width: 20em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30em" STYLE="float: right; width: 30em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WIDTHS SUM MORE THAN 100 NOT EVERYWHERE
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: left; width: 65em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: right; width: 65em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165em" STYLE="float: left; width: 165em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER LEFT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: left; width: 65em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165em" STYLE="float: left; width: 165em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER RIGHT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100em" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165em" STYLE="float: left; width: 165em;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65em" STYLE="float: right; width: 65em;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100em" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer footerClass">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsEms.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml.xml 2009-06-17
07:24:51 UTC (rev 16002)
@@ -0,0 +1,451 @@
+<tests>
+ <test id="id1">
+
+ <DIV CLASS="rich-page styleClass" STYLE="width: 1000px;
background-color: white;">
+ <DIV CLASS="rich-page-header headerClass">
+ <DIV CLASS="rich-page-header-content">
+ <SPAN STYLE="font-size: 2em;">
+ HEADER
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-subheader subheaderClass">
+ <SPAN STYLE="font-size: 2em;">
+ SUBHEADER
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-content">
+ <DIV CLASS="rich-page-sidebar sidebarClass" STYLE="width: 15em;
float: right;">
+ <SPAN STYLE="font-size: 2em;">
+ SIDEBAR
+</SPAN>
+ </DIV>
+ <DIV CLASS="rich-page-main" STYLE="float: left; margin-right:
-30em;">
+ <DIV CLASS="rich-page-body bodyClass" STYLE="margin-right:
15em;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ NO WEIGHT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 33.33%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 33.33%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHT NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;" >
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25" STYLE="float: left; width: 25px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="35" STYLE="float: left; width: 35px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WEIGHT NOT EVERYWHERE LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="90" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20" STYLE="float: left; width: 20px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="80" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTH SUM MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="25" STYLE="float: left; width: 25px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: left; width: 65px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="45" STYLE="float: right; width: 45px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ ALL WIDTH SUM LESS THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="10" STYLE="float: left; width: 10px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="20" STYLE="float: left; width: 20px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="30" STYLE="float: right; width: 30px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ WIDTH SUM MORE THAN 100 NOT EVERYWHERE
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: left; width: 65px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: right; width: 65px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165" STYLE="float: left; width: 165px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 50%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER LEFT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: left; width: 65px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165" STYLE="float: left; width: 165px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: right; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ SINGLE WIDTH MORE THAN 100 WITH ANOTHER RIGHT
+</SPAN>
+ </H1>
+ <DIV STYLE="border: 1px solid black;">
+ <DIV WIDTH="100" STYLE="">
+ <DIV >
+ <SPAN CLASS="vpe-text">
+ TOP PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV STYLE="float: left; width: 100%;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ LEFT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="165" STYLE="float: left; width: 165px;">
+ <DIV>
+ <SPAN STYLE="font-size: 2em;">
+ CENTER PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="65" STYLE="float: right; width: 65px;">
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ RIGHT PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ <DIV WIDTH="100" STYLE="">
+ <DIV
+ STYLE="display: block; height: 0pt; clear: both; visibility:
hidden;">
+ .
+</DIV>
+ <DIV>
+ <SPAN CLASS="vpe-text">
+ BOTTOM PANEL
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ </DIV>
+ <DIV CLASS="rich-page-footer footerClass">
+ <DIV CLASS="rich-page-footer-content">
+ <SPAN STYLE="font-size: 2em;">
+ FOOTER
+</SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/pageWithWidthsPixels.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2009-06-17
07:16:58 UTC (rev 16001)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2009-06-17
07:24:51 UTC (rev 16002)
@@ -347,7 +347,23 @@
public void testPageWithNestedLayouts() throws Throwable {
performContentTest("components/page/pageWithNestedLayouts.xhtml");//$NON-NLS-1$
}
+
+ public void testPageWithWidths() throws Throwable {
+ performContentTest("components/page/pageWithWidths.xhtml");//$NON-NLS-1$
+ }
+ public void testPageWithWidthsPixels() throws Throwable {
+ performContentTest("components/page/pageWithWidthsPixels.xhtml");//$NON-NLS-1$
+ }
+
+ public void testPageWithWidthsEms() throws Throwable {
+ performContentTest("components/page/pageWithWidthsEms.xhtml");//$NON-NLS-1$
+ }
+
+ public void testPageWithWidthsDifferent() throws Throwable {
+ performContentTest("components/page/pageWithWidthsDifferent.xhtml");//$NON-NLS-1$
+ }
+
@Override
protected String getTestProjectName() {
return RichFacesAllTests.IMPORT_PROJECT_NAME;