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

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: Rebase 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..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>
« 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