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

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

Issue 220853002: SVG does not respect overflow:visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3
4 <svg id="svg1"/>
5 <svg id="svg2" style="overflow-x: auto"/>
6 <svg id="svg3" style="overflow-x: visible; overflow-y: hidden"/>
7
8 <script>
9 description("This test checks the overflow equality in case of SVG.")
10
11 svg = document.getElementById("svg1");
12 computedStyle1 = getComputedStyle(svg);
13 shouldBe("computedStyle1.getPropertyValue('overflow-x')", "computedStyle1.getP ropertyValue('overflow-y')");
14
15 svg = document.getElementById("svg2");
16 computedStyle2 = getComputedStyle(svg);
17 shouldBe("computedStyle2.getPropertyValue('overflow-x')", "computedStyle2.getP ropertyValue('overflow-y')");
18
19 svg = document.getElementById("svg3");
20 computedStyle3 = getComputedStyle(svg);
21 shouldBe("computedStyle3.getPropertyValue('overflow-x')", "computedStyle3.getP ropertyValue('overflow-y')");
22 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/svg/different-overflow-values-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698