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

Unified Diff: LayoutTests/svg/as-image/overflow-auto-expected.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
« no previous file with comments | « LayoutTests/svg/as-image/overflow-auto.html ('k') | LayoutTests/svg/as-image/resources/overflow-auto.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/as-image/overflow-auto-expected.html
diff --git a/LayoutTests/svg/as-image/overflow-auto-expected.html b/LayoutTests/svg/as-image/overflow-auto-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..a10e1a70b28ffed96f1cc27f774fb07815e79b23
--- /dev/null
+++ b/LayoutTests/svg/as-image/overflow-auto-expected.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-hidden.svg">
+ <img class="test-class" style="width:40px; height:40px;" src="resources/overflow-hidden.svg">
+ <img class="test-class" style="width:28px; height:28px;" src="resources/overflow-hidden.svg">
+ </div>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/svg/as-image/overflow-auto.html ('k') | LayoutTests/svg/as-image/resources/overflow-auto.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698