summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-05-06 14:01:29 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-05-06 14:01:29 -0400
commitd6d65ece7537f856f01fdc978a2560107cacc375 (patch)
treeccabcef63f0d66632cc4c8c486c6d3663eef3ced /tests
parentb9cd9e281652a8b74887a5f86328712b3170d890 (diff)
'style' attributes
Diffstat (limited to 'tests')
-rw-r--r--tests/css.ur6
-rw-r--r--tests/css.urp2
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/css.ur b/tests/css.ur
index 04d3a701..6806c84d 100644
--- a/tests/css.ur
+++ b/tests/css.ur
@@ -7,4 +7,10 @@ fun main () = return <xml><body>
<span class="st-3 st2">Bye!</span>
<span class="st1">Appendix!</span>
<span class="">Sequel!</span>
+
+ <span style="width: 30%">A</span>
+ <span class="st-3" style="color: blue red">B</span>
+ <span style="background: url(http://www.google.com/image.png)">C</span>
+ <span style="background: url('http://www.google.com/image.png') red 10% 66px">D</span>
+ <span style="color: red; width: 90 green; background: url(http://www.google.com/foo.jpg);">C</span>
</body></xml>
diff --git a/tests/css.urp b/tests/css.urp
index 08a48817..38d47f29 100644
--- a/tests/css.urp
+++ b/tests/css.urp
@@ -1,3 +1,5 @@
+allow url http://www.google.com/*
+
# Comment here
css # Comment at end of line!
# Comments everywhere!