Skip to content

Commit fa23894

Browse files
committed
All: Quote CSS url() values
Closes jquerygh-1172
1 parent 21154cf commit fa23894

File tree

8 files changed

+30
-28
lines changed

8 files changed

+30
-28
lines changed

demos/autocomplete/multiple-remote.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="../demos.css">
1414
<style>
1515
.ui-autocomplete-loading {
16-
background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
16+
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
1717
}
1818
</style>
1919
<script>

demos/autocomplete/remote-jsonp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="../demos.css">
1414
<style>
1515
.ui-autocomplete-loading {
16-
background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
16+
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
1717
}
1818
#city { width: 25em; }
1919
</style>

demos/autocomplete/remote-with-cache.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="../demos.css">
1414
<style>
1515
.ui-autocomplete-loading {
16-
background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
16+
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
1717
}
1818
</style>
1919
<script>

demos/autocomplete/remote.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="../demos.css">
1414
<style>
1515
.ui-autocomplete-loading {
16-
background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
16+
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
1717
}
1818
</style>
1919
<script>

demos/autocomplete/xml.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<script src="../../ui/autocomplete.js"></script>
1313
<link rel="stylesheet" href="../demos.css">
1414
<style>
15-
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }
15+
.ui-autocomplete-loading {
16+
background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
17+
}
1618
</style>
1719
<script>
1820
$(function() {

demos/selectmenu/custom_render.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575
top: 0.1em;
7676
}
7777
.ui-icon.video {
78-
background: url(images/24-video-square.png) 0 0 no-repeat;
78+
background: url("images/24-video-square.png") 0 0 no-repeat;
7979
}
8080
.ui-icon.podcast {
81-
background: url(images/24-podcast-square.png) 0 0 no-repeat;
81+
background: url("images/24-podcast-square.png") 0 0 no-repeat;
8282
}
8383
.ui-icon.rss {
84-
background: url(images/24-rss-square.png) 0 0 no-repeat;
84+
background: url("images/24-rss-square.png") 0 0 no-repeat;
8585
}
8686

8787
/* select with CSS avatar icons */
@@ -126,9 +126,9 @@ <h2>Selectmenu with custom avatar 16x16 images as CSS background</h2>
126126
<fieldset>
127127
<label for="people">Select a Person:</label>
128128
<select name="people" id="people">
129-
<option value="1" class="avatar" style="background-image: url(http://www.gravatar.com/avatar/b3e04a46e85ad3e165d66f5d927eb609?d=monsterid&amp;r=g&amp;s=16);">John Resig</option>
130-
<option value="2" class="avatar" style="background-image: url(http://www.gravatar.com/avatar/e42b1e5c7cfd2be0933e696e292a4d5f?d=monsterid&amp;r=g&amp;s=16);">Tauren Mills</option>
131-
<option value="3" class="avatar" style="background-image: url(http://www.gravatar.com/avatar/bdeaec11dd663f26fa58ced0eb7facc8?d=monsterid&amp;r=g&amp;s=16);">Jane Doe</option>
129+
<option value="1" class="avatar" style="background-image: url('http://www.gravatar.com/avatar/b3e04a46e85ad3e165d66f5d927eb609?d=monsterid&amp;r=g&amp;s=16');">John Resig</option>
130+
<option value="2" class="avatar" style="background-image: url('http://www.gravatar.com/avatar/e42b1e5c7cfd2be0933e696e292a4d5f?d=monsterid&amp;r=g&amp;s=16');">Tauren Mills</option>
131+
<option value="3" class="avatar" style="background-image: url('http://www.gravatar.com/avatar/bdeaec11dd663f26fa58ced0eb7facc8?d=monsterid&amp;r=g&amp;s=16');">Jane Doe</option>
132132
</select>
133133
</fieldset>
134134

themes/base/menu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
cursor: pointer;
2626
min-height: 0; /* support: IE7 */
2727
/* support: IE10, see #8844 */
28-
list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
28+
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
2929
}
3030
.ui-menu .ui-menu-divider {
3131
margin: 5px 0;

themes/base/theme.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
}
3131
.ui-widget-content {
3232
border: 1px solid #aaaaaa/*{borderColorContent}*/;
33-
background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
33+
background: #ffffff/*{bgColorContent}*/ url("images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
3434
color: #222222/*{fcContent}*/;
3535
}
3636
.ui-widget-content a {
3737
color: #222222/*{fcContent}*/;
3838
}
3939
.ui-widget-header {
4040
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
41-
background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
41+
background: #cccccc/*{bgColorHeader}*/ url("images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
4242
color: #222222/*{fcHeader}*/;
4343
font-weight: bold;
4444
}
@@ -52,7 +52,7 @@
5252
.ui-widget-content .ui-state-default,
5353
.ui-widget-header .ui-state-default {
5454
border: 1px solid #d3d3d3/*{borderColorDefault}*/;
55-
background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
55+
background: #e6e6e6/*{bgColorDefault}*/ url("images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
5656
font-weight: normal/*{fwDefault}*/;
5757
color: #555555/*{fcDefault}*/;
5858
}
@@ -69,7 +69,7 @@
6969
.ui-widget-content .ui-state-focus,
7070
.ui-widget-header .ui-state-focus {
7171
border: 1px solid #999999/*{borderColorHover}*/;
72-
background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
72+
background: #dadada/*{bgColorHover}*/ url("images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
7373
font-weight: normal/*{fwDefault}*/;
7474
color: #212121/*{fcHover}*/;
7575
}
@@ -88,7 +88,7 @@
8888
.ui-widget-content .ui-state-active,
8989
.ui-widget-header .ui-state-active {
9090
border: 1px solid #aaaaaa/*{borderColorActive}*/;
91-
background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
91+
background: #ffffff/*{bgColorActive}*/ url("images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
9292
font-weight: normal/*{fwDefault}*/;
9393
color: #212121/*{fcActive}*/;
9494
}
@@ -105,7 +105,7 @@
105105
.ui-widget-content .ui-state-highlight,
106106
.ui-widget-header .ui-state-highlight {
107107
border: 1px solid #fcefa1/*{borderColorHighlight}*/;
108-
background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
108+
background: #fbf9ee/*{bgColorHighlight}*/ url("images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/;
109109
color: #363636/*{fcHighlight}*/;
110110
}
111111
.ui-state-highlight a,
@@ -117,7 +117,7 @@
117117
.ui-widget-content .ui-state-error,
118118
.ui-widget-header .ui-state-error {
119119
border: 1px solid #cd0a0a/*{borderColorError}*/;
120-
background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
120+
background: #fef1ec/*{bgColorError}*/ url("images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/;
121121
color: #cd0a0a/*{fcError}*/;
122122
}
123123
.ui-state-error a,
@@ -163,27 +163,27 @@
163163
}
164164
.ui-icon,
165165
.ui-widget-content .ui-icon {
166-
background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/;
166+
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsContent}*/;
167167
}
168168
.ui-widget-header .ui-icon {
169-
background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/;
169+
background-image: url("images/ui-icons_222222_256x240.png")/*{iconsHeader}*/;
170170
}
171171
.ui-state-default .ui-icon {
172-
background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/;
172+
background-image: url("images/ui-icons_888888_256x240.png")/*{iconsDefault}*/;
173173
}
174174
.ui-state-hover .ui-icon,
175175
.ui-state-focus .ui-icon {
176-
background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/;
176+
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsHover}*/;
177177
}
178178
.ui-state-active .ui-icon {
179-
background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/;
179+
background-image: url("images/ui-icons_454545_256x240.png")/*{iconsActive}*/;
180180
}
181181
.ui-state-highlight .ui-icon {
182-
background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/;
182+
background-image: url("images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/;
183183
}
184184
.ui-state-error .ui-icon,
185185
.ui-state-error-text .ui-icon {
186-
background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/;
186+
background-image: url("images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/;
187187
}
188188

189189
/* positioning */
@@ -396,14 +396,14 @@
396396

397397
/* Overlays */
398398
.ui-widget-overlay {
399-
background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
399+
background: #aaaaaa/*{bgColorOverlay}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/;
400400
opacity: .3/*{opacityOverlay}*/;
401401
filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/;
402402
}
403403
.ui-widget-shadow {
404404
margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/;
405405
padding: 8px/*{thicknessShadow}*/;
406-
background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
406+
background: #aaaaaa/*{bgColorShadow}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/;
407407
opacity: .3/*{opacityShadow}*/;
408408
filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/;
409409
border-radius: 8px/*{cornerRadiusShadow}*/;

0 commit comments

Comments
 (0)