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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/svg-resource-fragment-identifier-img-src.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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 window.targetScaleFactor = 2; 5 window.targetScaleFactor = 2;
6 </script> 6 </script>
7 <script src="../../fast/hidpi/resources/srcset-helper.js"></script> 7 <script src="../../fast/hidpi/resources/srcset-helper.js"></script>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 9
10 div, img { 10 div, img {
11 width: 100px; 11 width: 100px;
12 height: 100px; 12 height: 100px;
13 margin: 10px; 13 margin: 10px;
14 display: inline-block; 14 display: inline-block;
15 } 15 }
16 16
17 </style> 17 </style>
18 18
19 </head> 19 </head>
20 <body> 20 <body>
21 21
22 <img src="resources/fragment-identifiers.svg#red"> 22 <img src="resources/fragment-identifiers.svg#red">
23 <img src="resources/fragment-identifiers.svg#green"> 23 <img src="resources/fragment-identifiers.svg#green">
24 <img src="resources/fragment-identifiers.svg#blue"> 24 <img src="resources/fragment-identifiers.svg#blue">
25 <img src="resources/fragment-identifiers.svg#blue" srcset="resources/fragmen t-identifiers.svg#green 2x"> 25 <img src="resources/fragment-identifiers.svg#blue" srcset="resources/fragmen t-identifiers.svg#green 2x">
26 26
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698