Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml')
-rw-r--r--org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml267
1 files changed, 126 insertions, 141 deletions
diff --git a/org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml b/org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml
index 586ebb11..19670dbe 100644
--- a/org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml
+++ b/org.eclipse.vex.core.tests/src/org/eclipse/vex/core/internal/layout/before-after.xml
@@ -1,145 +1,130 @@
<?xml version='1.0'?>
<testcases css="before-after.css">
- <test id="Block with Block Before" layoutWidth="100">
- <doc><![CDATA[ <root><bbb>wuzzle</bbb></root> ]]></doc>
- <result>
- <box class="RootBox">
- <box class="BlockElementBox" element="root">
-
- <box class="BlockElementBox" element="bbb">
-
- <box class="BlockPseudoElementBox">
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="StaticTextBox" text="BEFORE" />
- </box>
- </box>
- </box>
-
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="DocumentTextBox" text="wuzzle" />
- <box class="PlaceholderBox"/>
- </box>
- </box>
-
- </box>
- </box>
- </box>
- </result>
- </test>
-
-
-
- <test id="Block with Block After" layoutWidth="100">
- <doc><![CDATA[ <root><bba>wuzzle</bba></root> ]]></doc>
- <result>
- <box class="RootBox">
- <box class="BlockElementBox" element="root">
-
- <box class="BlockElementBox" element="bba">
-
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="DocumentTextBox" text="wuzzle" />
- <box class="PlaceholderBox"/>
- </box>
- </box>
-
- <box class="BlockPseudoElementBox">
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="StaticTextBox" text="AFTER" />
- </box>
- </box>
- </box>
-
- </box>
- </box>
- </box>
- </result>
- </test>
-
-
- <test id="Block with Inline Before" layoutWidth="100">
- <doc><![CDATA[ <root><bib>wuzzle</bib></root> ]]></doc>
- <result>
- <box class="RootBox">
- <box class="BlockElementBox" element="root">
-
- <box class="BlockElementBox" element="bib">
-
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="StaticTextBox" text="before" />
- <box class="DocumentTextBox" text="wuzzle" />
- <box class="PlaceholderBox"/>
- </box>
- </box>
-
- </box>
- </box>
- </box>
- </result>
- </test>
-
- <test id="Block with Inline After" layoutWidth="100">
- <doc><![CDATA[ <root><bia>wuzzle</bia></root> ]]></doc>
- <result>
- <box class="RootBox">
- <box class="BlockElementBox" element="root">
-
- <box class="BlockElementBox" element="bia">
-
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="DocumentTextBox" text="wuzzle" />
- <box class="PlaceholderBox"/>
- <box class="StaticTextBox" text="after" />
- </box>
- </box>
-
- </box>
- </box>
- </box>
- </result>
- </test>
-
-
-<!--
- <test id="Inline with Block Before" layoutWidth="100">
- <doc><![CDATA[ <root><ibb>wuzzle</ibb></root> ]]></doc>
- <result>
- <box class="RootBox">
- <box class="BlockElementBox" element="root">
-
- <box class="BlockPseudoElementBox">
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="StaticTextBox" text="BEFORE" />
- </box>
- </box>
- </box>
-
- <box class="ParagraphBox">
- <box class="LineBox">
- <box class="InlineElementBox" element="ibb">
- <box class="DrawableBox" />
- <box class="DocumentTextBox" text="wuzzle" />
- <box class="PlaceholderBox"/>
- <box class="DrawbleBox" />
- </box>
- <box class="PlaceholderBox"/>
- </box>
- </box>
-
- </box>
- </box>
- </result>
- </test>
--->
-
-
-
+ <test id="Block with Block Before" layoutWidth="100">
+ <doc><![CDATA[ <root><bbb>wuzzle</bbb></root> ]]></doc>
+ <result>
+ <box class="RootBox">
+ <box class="BlockElementBox">
+ <box class="BlockElementBox" element="root">
+
+ <box class="BlockElementBox" element="bbb">
+
+ <box class="BlockPseudoElementBox">
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="StaticTextBox" text="BEFORE" />
+ </box>
+ </box>
+ </box>
+
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="DocumentTextBox" text="wuzzle" />
+ <box class="PlaceholderBox" />
+ </box>
+ </box>
+
+ </box>
+ </box>
+ </box>
+ </box>
+ </result>
+ </test>
+
+
+
+ <test id="Block with Block After" layoutWidth="100">
+ <doc><![CDATA[ <root><bba>wuzzle</bba></root> ]]></doc>
+ <result>
+ <box class="RootBox">
+ <box class="BlockElementBox">
+ <box class="BlockElementBox" element="root">
+
+ <box class="BlockElementBox" element="bba">
+
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="DocumentTextBox" text="wuzzle" />
+ <box class="PlaceholderBox" />
+ </box>
+ </box>
+
+ <box class="BlockPseudoElementBox">
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="StaticTextBox" text="AFTER" />
+ </box>
+ </box>
+ </box>
+
+ </box>
+ </box>
+ </box>
+ </box>
+ </result>
+ </test>
+
+
+ <test id="Block with Inline Before" layoutWidth="100">
+ <doc><![CDATA[ <root><bib>wuzzle</bib></root> ]]></doc>
+ <result>
+ <box class="RootBox">
+ <box class="BlockElementBox">
+ <box class="BlockElementBox" element="root">
+
+ <box class="BlockElementBox" element="bib">
+
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="StaticTextBox" text="before" />
+ <box class="DocumentTextBox" text="wuzzle" />
+ <box class="PlaceholderBox" />
+ </box>
+ </box>
+
+ </box>
+ </box>
+ </box>
+ </box>
+ </result>
+ </test>
+
+ <test id="Block with Inline After" layoutWidth="100">
+ <doc><![CDATA[ <root><bia>wuzzle</bia></root> ]]></doc>
+ <result>
+ <box class="RootBox">
+ <box class="BlockElementBox">
+ <box class="BlockElementBox" element="root">
+
+ <box class="BlockElementBox" element="bia">
+
+ <box class="ParagraphBox">
+ <box class="LineBox">
+ <box class="DocumentTextBox" text="wuzzle" />
+ <box class="PlaceholderBox" />
+ <box class="StaticTextBox" text="after" />
+ </box>
+ </box>
+
+ </box>
+ </box>
+ </box>
+ </box>
+ </result>
+ </test>
+
+
+ <!-- <test id="Inline with Block Before" layoutWidth="100"> <doc><![CDATA[
+ <root><ibb>wuzzle</ibb></root> ]]></doc> <result> <box class="RootBox"> <box
+ class="BlockElementBox" element="root"> <box class="BlockPseudoElementBox">
+ <box class="ParagraphBox"> <box class="LineBox"> <box class="StaticTextBox"
+ text="BEFORE" /> </box> </box> </box> <box class="ParagraphBox"> <box class="LineBox">
+ <box class="InlineElementBox" element="ibb"> <box class="DrawableBox" />
+ <box class="DocumentTextBox" text="wuzzle" /> <box class="PlaceholderBox"/>
+ <box class="DrawbleBox" /> </box> <box class="PlaceholderBox"/> </box> </box>
+ </box> </box> </result> </test> -->
+
+
+
</testcases>

Back to the top