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

Unified Diff: LayoutTests/svg/as-image/overflow-auto.html

Issue 277563004: [SVG2] overflow should be ignored in img and background-image. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add comment Created 6 years, 7 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
Index: LayoutTests/svg/as-image/overflow-auto.html
diff --git a/LayoutTests/svg/as-image/overflow-auto.html b/LayoutTests/svg/as-image/overflow-auto.html
new file mode 100644
index 0000000000000000000000000000000000000000..0588d311131433f48c7d78409b9665da61c762b9
--- /dev/null
+++ b/LayoutTests/svg/as-image/overflow-auto.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html>
+ <head>
+ <style type="text/css">
+ .test-class {
+ margin: 50px auto;
+ background-size: contain;
+ }
+ </style>
+ </head>
+ <body>
+ <div style="width: 100%;">
+ <img class="test-class" style="width:60px; height:60px;" src="resources/overflow-auto.svg">
+ <img class="test-class" style="width:40px; height:40px;" src="resources/overflow-auto.svg">
+ <img class="test-class" style="width:28px; height:28px;" src="resources/overflow-auto.svg">
+ </div>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/svg/as-background-image/overflow-auto-expected.html ('k') | LayoutTests/svg/as-image/overflow-auto-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698