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

Unified Diff: third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-diff-expected.html

Issue 1577843002: Fix SVG sizing in crossfaded images (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust test to make it more obvious when it fails Created 4 years, 11 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: third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-diff-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-diff-expected.html b/third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-diff-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..0ea203a80b92a17932a2c02b14a40345725561d5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/images/cross-fade-svg-size-diff-expected.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<title>Test SVG in -webkit-cross-fade image with identical but differently sized SVG elsewhere</title>
+<style>
+ div {
+ background-image: url("data:image/svg+xml,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><circle cx='50' cy='50' r='35' fill='green'/></svg>");
+ }
+ .tst {
+ width: 100px;
+ height: 100px;
+ }
+ #ref {
+ width: 300px;
+ height: 300px;
+ }
+</style>
+<p>There should be three circle below. One big and two small ones.
+<div id=ref></div>
+<div class=tst></div>
+<div class=tst></div>

Powered by Google App Engine
This is Rietveld 408576698