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..4788860e01aa843f384ae6747a5d406243daea90 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<div id="target" style="overflow-x: hidden; overflow-y: scroll"></div> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+var element = document.getElementById('target'); |
+test(function() { |
+ assert_equals("", window.getComputedStyle(element).overflow); |
+}, 'Test different overflow x and y returns empty string') |
nainar
2017/03/14 04:49:16
nit Change to: Test that if overflowX != overflowY
shend
2017/03/16 00:40:59
I changed this to "Overflow is empty string if ove
|
+</script> |