summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html b/testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html
new file mode 100644
index 0000000000..1401185985
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/box-shadow-calc.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<link rel="author" title="Antoine Quint" href="mailto:graouts@apple.com" />
+<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-box-shadow" />
+<link rel="match" href="box-shadow-calc-ref.html" />
+<meta name="assert" content="Test checks whether box-shadow supports calc() values.">
+<style type="text/css">
+div {
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+ box-shadow: calc(1em + 10px) calc(2em + 11px) calc(3em + 12px) black;
+}
+</style>
+<div>
+</div>