diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-06-26 18:08:45 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-06-26 18:08:45 +0000 |
commit | 857c3ed7f6e7fb1829e69c6745674c5c6ba9d984 (patch) | |
tree | c800348414d6e3cd5736ec7803d37a7022ce6da7 /test/data/parse2/margin.dat | |
parent | f4ac69edec27b0dcd883370f26f47a94112bc4e7 (diff) | |
download | libcss-857c3ed7f6e7fb1829e69c6745674c5c6ba9d984.tar.gz libcss-857c3ed7f6e7fb1829e69c6745674c5c6ba9d984.tar.bz2 |
Tests for Margin shorthand prop. Comment out test that is currently expected to fail.
svn path=/trunk/libcss/; revision=8019
Diffstat (limited to 'test/data/parse2/margin.dat')
-rw-r--r-- | test/data/parse2/margin.dat | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/test/data/parse2/margin.dat b/test/data/parse2/margin.dat new file mode 100644 index 0000000..e78ad4c --- /dev/null +++ b/test/data/parse2/margin.dat @@ -0,0 +1,112 @@ +#data +* { margin: auto; } +#errors +#expected +| * +| margin-top: auto +| margin-right: auto +| margin-bottom: auto +| margin-left: auto +#reset + +#data +* { margin: auto auto; } +#errors +#expected +| * +| margin-top: auto +| margin-right: auto +| margin-bottom: auto +| margin-left: auto +#reset + +#data +* { margin: auto auto 0; } +#errors +#expected +| * +| margin-top: auto +| margin-right: auto +| margin-bottom: 0 +| margin-left: auto +#reset + +#data +* { margin: auto auto 10px 0; } +#errors +#expected +| * +| margin-top: +| margin-right: +| margin-bottom: +| margin-left: +#reset + + +#data +* { margin: auto !important; } +#errors +#expected +| * +| margin-top: auto !important +| margin-right: auto !important +| margin-bottom: auto !important +| margin-left: auto !important +#reset + +#data +* { margin: auto auto !important; } +#errors +#expected +| * +| margin-top: auto !important +| margin-right: auto !important +| margin-bottom: auto !important +| margin-left: auto !important +#reset + +#data +* { margin: auto auto 0 !important; } +#errors +#expected +| * +| margin-top: auto !important +| margin-right: auto !important +| margin-bottom: 0 !important +| margin-left: auto !important +#reset + +#data +* { margin: auto auto 10px 0 !important; } +#errors +#expected +| * +| margin-top: auto !important +| margin-right: auto !important +| margin-bottom: 10px !important +| margin-left: 0 !important +#reset + + +#data +* { margin: invalid; } +#errors +#expected +| * +#reset + +#data +* { margin: ; } +#errors +#expected +| * +#reset + +#data +* { margin:} +#errors +#expected +| * +#reset + + |