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

Unified Diff: third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset.html

Issue 1458083002: Support fragment URLs for more kinds of SVG images (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplification wasn't simple enough Created 5 years, 1 month 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/svg/css/svg-resource-fragment-identifier-background-srcset.html
diff --git a/third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset.html b/third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset.html
new file mode 100644
index 0000000000000000000000000000000000000000..010264dc320c8d245806a0185e31eac32132771e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-background-srcset.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+ window.targetScaleFactor = 2;
+</script>
+<script src="../../fast/hidpi/resources/srcset-helper.js"></script>
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ }
+</style>
+<div style="background: -webkit-image-set(url(resources/fragment-identifiers.svg#red) 1x,
+ url(resources/fragment-identifiers.svg#green) 2x);">

Powered by Google App Engine
This is Rietveld 408576698