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

Unified Diff: LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.html

Issue 180973005: Respect SVG fragment identifiers in <img> src attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove include Created 6 years, 8 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/css/svg-resource-fragment-identifier-img-src.html
diff --git a/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.html b/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.html
new file mode 100644
index 0000000000000000000000000000000000000000..1e77e55165695c50a7ebbc69542135e18f966243
--- /dev/null
+++ b/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script>
+ window.targetScaleFactor = 2;
+ </script>
+ <script src="../../fast/hidpi/resources/srcset-helper.js"></script>
+ <style type="text/css" media="screen">
+
+ div, img {
+ width: 100px;
+ height: 100px;
+ margin: 10px;
+ display: inline-block;
+ }
+
+ </style>
+
+</head>
+<body>
+
+ <img src="resources/fragment-identifiers.svg#red">
+ <img src="resources/fragment-identifiers.svg#green">
+ <img src="resources/fragment-identifiers.svg#blue">
+ <img src="resources/fragment-identifiers.svg#blue" srcset="resources/fragment-identifiers.svg#green 2x">
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698