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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html

Issue 2121973002: Fallback to 300x150 instead of 0x0 size for SVG inside content() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 4 years, 5 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/http/tests/misc/svg-image-in-content.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html b/third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..e0c72415f4e95ceecdef7865768a61e77e9b1f9f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<style>
+body { margin: 0 }
+.tst span::after {
+ display: block;
+ width: 100px;
+ height: 100px;
+ content: url(resources/svg-no-store.pl);
+}
+</style>
+<title>Test SVG background icons</title>
+<span class="tst"><span/></span>

Powered by Google App Engine
This is Rietveld 408576698