summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-27 10:17:11 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2017-04-27 10:17:57 (GMT)
commitded51e3eec1f74a60185e7f2ecc3bcef8502b99a (patch)
tree9f74879fa4564254b42f8ffacd55d697d8ed0fa8
parented0b3a8c9d3549fb0a66372d4bbd3566138c2a06 (diff)
downloadlibcss-ded51e3eec1f74a60185e7f2ecc3bcef8502b99a.tar.gz
libcss-ded51e3eec1f74a60185e7f2ecc3bcef8502b99a.tar.bz2
Tests: Add box-sizing bytecode unit tests.
-rw-r--r--test/data/parse/properties.dat58
1 files changed, 58 insertions, 0 deletions
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index 7fcf137..3dcb5a4 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -4791,3 +4791,61 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
| 0x0008046f
#reset
+##
+## 71 - box-sizing
+##
+
+#data
+* { box-sizing: content-box; }
+#errors
+#expected
+| 1 *
+| 0x00000071
+#reset
+
+#data
+* { box-sizing: border-box; }
+#errors
+#expected
+| 1 *
+| 0x00040071
+#reset
+
+#data
+* { box-sizing: inherit; }
+#errors
+#expected
+| 1 *
+| 0x00000871
+#reset
+
+#data
+* { box-sizing: content-box !important; }
+#errors
+#expected
+| 1 *
+| 0x00000471
+#reset
+
+#data
+* { box-sizing: border-box !important; }
+#errors
+#expected
+| 1 *
+| 0x00040471
+#reset
+
+#data
+* { box-sizing: inherit !important; }
+#errors
+#expected
+| 1 *
+| 0x00000c71
+#reset
+
+#data
+* { box-sizing: none; }
+#errors
+#expected
+| 1 *
+#reset