diff --git a/demos/effect/addClass.html b/demos/effect/addClass.html
index f594291fe08..0aab17304e1 100644
--- a/demos/effect/addClass.html
+++ b/demos/effect/addClass.html
@@ -10,8 +10,8 @@
+
@@ -23,7 +24,7 @@
+
@@ -23,7 +24,7 @@
+
@@ -32,7 +33,7 @@
#effect {
position: relative;
width: 240px;
- height: 135px;
+ height: 170px;
padding: 0.4em;
}
#effect h3 {
@@ -52,7 +53,7 @@
var options = {};
// some effects have required parameters
if ( selectedEffect === "scale" ) {
- options = { percent: 0 };
+ options = { percent: 50 };
} else if ( selectedEffect === "size" ) {
options = { to: { width: 200, height: 60 } };
}
@@ -85,6 +86,7 @@
+
diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html
index d6cfdb7973b..a092ce04bcf 100644
--- a/tests/unit/effects/effects.html
+++ b/tests/unit/effects/effects.html
@@ -88,28 +88,47 @@
width: 100px;
}
+ .relative {
+ position: relative;
+ top: 0px;
+ left: 0px;
+ }
+ .absolute {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ }
+ .fixed {
+ position: fixed;
+ top: 0px;
+ left: 0px;
+ }
+ .static {
+ position: static;
+ }
+
-
-
-
-
-
Child Element Test
-
-
-
Slide with relative width
-
-
-
-
-
-
+
+
+
+
Child Element Test
+
+
+
Slide with relative width
+
+
+
+
+
+
+