summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html b/testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html
new file mode 100644
index 0000000000..be29c86ca7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/background-color-rgb-002-ref.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>CSS-Color-4: rgba() syntax accepts non-integer components, comma-less expressions (and comments as separators), percentage alpha and omitting of alpha component - ref</title>
+ <link rel="author" title="Jerry Shih" href="mailto:bignose1007@gmail.com" />
+ <link rel="author" title="Mozilla" href="http://www.mozilla.org/" />
+ <style type="text/css">
+ #p1 { background-color: rgba(10, 175, 10, 0.2); }
+ #p2 { background-color: rgba(10, 175, 10, 0.4); }
+ #p3 { background-color: rgba(10%, 75%, 10%, 0.6); }
+ #p4 { background-color: rgba(10, 175, 10, 0.8); }
+ #p5 { background-color: rgb(10, 175, 10); }
+ #p6 { background-color: rgb(10, 150, 50); }
+ #p7 { background-color: rgb(10, 125, 75); }
+ #p8 { background-color: rgb(10%, 45%, 45%); }
+ #p9 { background-color: rgb(10, 75, 125); }
+ #p10 { background-color: rgb(10, 50, 150); }
+ </style>
+ </head>
+ <body>
+ <p id="p1">color</p>
+ <p id="p2">color</p>
+ <p id="p3">color</p>
+ <p id="p4">color</p>
+ <p id="p5">color</p>
+ <p id="p6">color</p>
+ <p id="p7">color</p>
+ <p id="p8">color</p>
+ <p id="p9">color</p>
+ <p id="p10">color</p>
+ </body>
+</html>