summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/transform-011.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/transform-011.html')
-rw-r--r--testing/web-platform/tests/css/css-break/transform-011.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/transform-011.html b/testing/web-platform/tests/css/css-break/transform-011.html
new file mode 100644
index 0000000000..58008e509e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/transform-011.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442522">
+<div id="container" style="overflow:auto; width:100px; height:100px;">
+ <div style="columns:5; gap:0; column-fill:auto; height:100px;">
+ <div style="transform:rotate(180deg); height:500px;"></div>
+ </div>
+</div>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ test(()=> {
+ assert_equals(container.scrollHeight, 100);
+ assert_equals(container.scrollWidth, 100);
+ }, "Rotating 180 degrees with transform origin at the center");
+</script>