diff --git a/css/cssom-view/client-props-zoom.html b/css/cssom-view/client-props-zoom.html new file mode 100644 index 00000000000000..fb4c95cada4269 --- /dev/null +++ b/css/cssom-view/client-props-zoom.html @@ -0,0 +1,54 @@ + +Client properties for elements with css zoom + + +" + + + + + + + +
+
+ +
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/css/cssom-view/getBoundingClientRect-zoom.html b/css/cssom-view/getBoundingClientRect-zoom.html new file mode 100644 index 00000000000000..18f44de534fd5b --- /dev/null +++ b/css/cssom-view/getBoundingClientRect-zoom.html @@ -0,0 +1,81 @@ + +getBoundingClientRect for elements with css zoom + + + + + + + + + +
+
+
+
+
+
+
+ + +` \ No newline at end of file diff --git a/css/cssom-view/getClientRects-zoom.html b/css/cssom-view/getClientRects-zoom.html new file mode 100644 index 00000000000000..d4c249eadb0445 --- /dev/null +++ b/css/cssom-view/getClientRects-zoom.html @@ -0,0 +1,81 @@ + +getBoundingClientRect for elements with css zoom + + + + + + + + + +
+
+
+
+
+
+
+ + +` \ No newline at end of file diff --git a/css/cssom-view/offsetTop-offsetLeft-with-zoom.html b/css/cssom-view/offsetTop-offsetLeft-with-zoom.html index 2d74a9f116bc68..a60a18a4313b5c 100644 --- a/css/cssom-view/offsetTop-offsetLeft-with-zoom.html +++ b/css/cssom-view/offsetTop-offsetLeft-with-zoom.html @@ -60,14 +60,14 @@
-
+
-
+
@@ -91,5 +91,11 @@ assert_equals(zoomed_inner.offsetTop, 0, 'zoomed_inner.offsetTop'); assert_equals(zoomed_inner.offsetLeft, 1, 'zoomed_inner.offsetLeft'); + // check that offset is equal between elements when one of them has css zoom + assert_equals(unzoomed_one.offsetWidth, zoomed_one.offsetWidth, "offsetWidth"); + assert_equals(unzoomed_one.offsetHeight, zoomed_one.offsetHeight, "offsetHeight"); + assert_equals(zoomed_inner.offsetWidth, outer_div.offsetWidth, "offsetWidth for nested element"); + assert_equals(zoomed_inner.offsetHeight, outer_div.offsetHeight, "offsetHeight for nested element"); + }, 'Verifies that offsetTop and offsetLeft find the right OffsetParent and return values excluding the target zoom'); diff --git a/css/cssom-view/scroll-zoom.html b/css/cssom-view/scroll-zoom.html new file mode 100644 index 00000000000000..1fe4a8acc4ab10 --- /dev/null +++ b/css/cssom-view/scroll-zoom.html @@ -0,0 +1,63 @@ + +scroll properties for elements with css zoom + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + \ No newline at end of file