From 9fb0c5f3d3df1b207c444114a3ea0a6dc909cde4 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 9 Sep 2014 17:18:15 +0200 Subject: use computed style when calculating bg birghtness --- test/examples/slide-backgrounds.html | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/examples/slide-backgrounds.html b/test/examples/slide-backgrounds.html index ba020cb..60223c7 100644 --- a/test/examples/slide-backgrounds.html +++ b/test/examples/slide-backgrounds.html @@ -10,6 +10,15 @@ + @@ -26,6 +35,10 @@

data-background: #bb00bb

+
+

data-background: ----

+
+

data-background: #ff0000

@@ -50,20 +63,20 @@
-
+

Background image

-
+

Background image

-
+

Background image

-
+

Background image

data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
-- cgit v1.2.3