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

Unified Diff: LayoutTests/fast/svg/different-overflow-values.html

Issue 235043003: ASSERTION FAILED: object->style()->overflowX() == object->style()->overflowY() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | LayoutTests/fast/svg/different-overflow-values-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/svg/different-overflow-values.html
diff --git a/LayoutTests/fast/svg/different-overflow-values.html b/LayoutTests/fast/svg/different-overflow-values.html
new file mode 100644
index 0000000000000000000000000000000000000000..2d277e4d46b2c61f3a671e037f1a50a9d1db5844
--- /dev/null
+++ b/LayoutTests/fast/svg/different-overflow-values.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+
+<svg id="svg1"/>
+<svg id="svg2" style="overflow-x: auto"/>
+<svg id="svg3" style="overflow-x: visible; overflow-y: hidden"/>
+
+<script>
+ description("This test checks the overflow equality in case of SVG.")
+
+ svg = document.getElementById("svg1");
+ computedStyle1 = getComputedStyle(svg);
+ shouldBe("computedStyle1.getPropertyValue('overflow-x')", "computedStyle1.getPropertyValue('overflow-y')");
+
+ svg = document.getElementById("svg2");
+ computedStyle2 = getComputedStyle(svg);
+ shouldBe("computedStyle2.getPropertyValue('overflow-x')", "computedStyle2.getPropertyValue('overflow-y')");
+
+ svg = document.getElementById("svg3");
+ computedStyle3 = getComputedStyle(svg);
+ shouldBe("computedStyle3.getPropertyValue('overflow-x')", "computedStyle3.getPropertyValue('overflow-y')");
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/svg/different-overflow-values-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698