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

Unified Diff: grit/gather/chrome_html_unittest.py

Issue 10795081: Use ' instead of " when rewriting -webkit-image-set. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 8 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
« no previous file with comments | « grit/gather/chrome_html.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/gather/chrome_html_unittest.py
===================================================================
--- grit/gather/chrome_html_unittest.py (revision 57)
+++ grit/gather/chrome_html_unittest.py (working copy)
@@ -71,7 +71,7 @@
<head>
<style>
.image {
- background: -webkit-image-set(url("data:image/png;base64,UE5HIERBVEE=") 1x, url("data:image/png;base64,MS40eCBQTkcgREFUQQ==") 1.4x, url("data:image/png;base64,MS44eCBQTkcgREFUQQ==") 1.8x);
+ background: -webkit-image-set(url('data:image/png;base64,UE5HIERBVEE=') 1x, url('data:image/png;base64,MS40eCBQTkcgREFUQQ==') 1.4x, url('data:image/png;base64,MS44eCBQTkcgREFUQQ==') 1.8x);
}
</style>
</head>
@@ -106,7 +106,7 @@
self.failUnlessEqual(StandardizeHtml(html.GetData('en', 'utf-8')),
StandardizeHtml('''
.image {
- background: -webkit-image-set(url("test.png") 1x, url("1.4x/test.png") 1.4x, url("1.8x/test.png") 1.8x);
+ background: -webkit-image-set(url('test.png') 1x, url('1.4x/test.png') 1.4x, url('1.8x/test.png') 1.8x);
}
'''))
tmp_dir.CleanUp()
@@ -147,7 +147,7 @@
<head>
<style>
.image {
- background: -webkit-image-set(url("data:image/png;base64,UE5HIERBVEE=") 1x);
+ background: -webkit-image-set(url('data:image/png;base64,UE5HIERBVEE=') 1x);
}
</style>
</head>
@@ -192,7 +192,7 @@
<head>
<style>
.image {
- background: -webkit-image-set(url("chrome://theme/IDR_RESOURCE_NAME") 1x, url("chrome://theme/IDR_RESOURCE_NAME@2x") 2x);
+ background: -webkit-image-set(url('chrome://theme/IDR_RESOURCE_NAME') 1x, url('chrome://theme/IDR_RESOURCE_NAME@2x') 2x);
}
</style>
</head>
@@ -245,8 +245,8 @@
<head>
<style>
.image {
- background: -webkit-image-set(url("data:image/png;base64,UE5HIERBVEE=") 1x,
- url("data:image/png;base64,MS44eCBQTkcgREFUQQ==") 1.8x);
+ background: -webkit-image-set(url('data:image/png;base64,UE5HIERBVEE=') 1x,
+ url('data:image/png;base64,MS44eCBQTkcgREFUQQ==') 1.8x);
}
</style>
</head>
« no previous file with comments | « grit/gather/chrome_html.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698