Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/different-overflow-x-and-y.html

Issue 2752623002: Return '' for overflow if overflow-x and overflow-y are different. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698