From 9e0807bdf9b958c56cf219aacc106221060a8b42 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 17 Jan 2009 17:23:04 +0000 Subject: Test cases for properties 50 to 53. (All properties now have test cases.) svn path=/trunk/libcss/; revision=6118 --- test/data/parse/properties.dat | 88 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) (limited to 'test/data/parse') diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat index d8b5dff..c080e27 100644 --- a/test/data/parse/properties.dat +++ b/test/data/parse/properties.dat @@ -3593,3 +3593,91 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at | 1 * | 0x0010004f #reset + +## +## 50 - widows +## + +#data +* { widows: 3; } +#errors +#expected +| 1 * +| 0x02000050 0x00000c00 +#reset + +## +## 51 - width +## + +#data +* { width: auto; } +#errors +#expected +| 1 * +| 0x00000051 +#reset + +#data +* { width: 99999.999ex; } +#errors +#expected +| 1 * +| 0x02000051 0x061a7fff 0x00000001 +#reset + +#data +* { width: 66.667%; } +#errors +#expected +| 1 * +| 0x02000051 0x00010aab 0x00000100 +#reset + +## +## 52 - word-spacing +## + +#data +* { word-spacing: normal; } +#errors +#expected +| 1 * +| 0x00000052 +#reset + +#data +* { word-spacing: 0.1em; } +#errors +#expected +| 1 * +| 0x02000052 0x00000066 0x00000002 +#reset + +## +## 53 - z-index +## + +#data +* { z-index: auto; } +#errors +#expected +| 1 * +| 0x00000053 +#reset + +#data +* { z-index: 2; } +#errors +#expected +| 1 * +| 0x02000053 0x00000800 +#reset + +#data +* { z-index: -1; } +#errors +#expected +| 1 * +| 0x02000053 0xfffffc00 +#reset -- cgit v1.2.3