Index: third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html b/third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a4115cd3de6de67c168d9e9998147e01f2a03cb9 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<div id="target" style="overflow-x: hidden; overflow-y: scroll"></div> |
+<script> |
+var element = document.getElementById('target'); |
+test(function() { |
+ assert_equals("", window.getComputedStyle(element).overflow); |
+}, 'Overflow is empty string if overflowX != overflowY') |
+</script> |