aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/testcases/indent2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/layoutengine/testcases/indent2.xml')
-rw-r--r--test/layoutengine/testcases/indent2.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/layoutengine/testcases/indent2.xml b/test/layoutengine/testcases/indent2.xml
index 4f4481c75..87009ee82 100644
--- a/test/layoutengine/testcases/indent2.xml
+++ b/test/layoutengine/testcases/indent2.xml
@@ -61,5 +61,16 @@ the nested block should be indented as well.
</fo:root>
</fo>
<checks>
+ <eval expected="20000" xpath="//flow/block[1]/lineArea[1]/@start-indent"/>
+ <true xpath="boolean(not(//flow/block[1]/lineArea[2]/@start-indent))"/>
+ <true xpath="boolean(not(//flow/block[1]/lineArea[10]/@start-indent))"/>
+ <eval expected="20000" xpath="//flow/block[2]/lineArea[1]/@start-indent"/>
+ <true xpath="boolean(not(//flow/block[2]/lineArea[2]/@start-indent))"/>
+ <true xpath="boolean(not(//flow/block[2]/lineArea[10]/@start-indent))"/>
+
+ <eval expected="20000" xpath="//flow/block[3]/child::*[1]/@start-indent"/>
+ <eval expected="20000" xpath="//flow/block[3]/child::*[2]/lineArea[1]/@start-indent"/>
+ <eval expected="20000" xpath="//flow/block[3]/child::*[3]/@start-indent"/>
+ <true xpath="boolean(not(//flow/block[3]/child::*[4]/@start-indent))"/>
</checks>
</testcase>