Skip to content

Commit e4ba1e1

Browse files
committed
Specify the <url> *always* computes to an absolute url.
1 parent 1d2eb5b commit e4ba1e1

2 files changed

Lines changed: 22 additions & 13 deletions

File tree

css3-values/Overview.html

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727
<h1>CSS Values and Units Module Level 3</h1>
2828

29-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 7 February
29+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 February
3030
2012</h2>
3131

3232
<dl>
3333
<dt>This version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2012/ED-css3-values-20120207/">http://www.w3.org/TR/2012/ED-css3-values-20120207/</a>
36+
href="http://www.w3.org/TR/2012/ED-css3-values-20120217/">http://www.w3.org/TR/2012/ED-css3-values-20120217/</a>
3737

3838
<dt>Latest version:
3939

@@ -554,7 +554,8 @@ <h2 id=textual-values><span class=secno>3. </span> Textual Data Types</h2>
554554
<h3 id=keywords><span class=secno>3.1. </span> Pre-defined Keywords</h3>
555555

556556
<p>In the value definition fields, keywords with a pre-defined meaning
557-
appear literally. Keywords are CSS <i>identifiers</i> and are interpreted
557+
appear literally. Keywords are CSS <a
558+
href="#identifier"><i>identifiers</i></a> and are interpreted
558559
case-insensitively within the ASCII range (i.e., [a-z] and [A-Z] are
559560
equivalent).
560561

@@ -703,6 +704,10 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the &lsquo;<a
703704
for this process. For CSS style sheets, the base URI is that of the style
704705
sheet, not that of the source document.
705706

707+
<p>When a <a href="#url-value"><i>&lt;url&gt;</i></a> appears in the
708+
computed value of a property, it is resolved to an absolute URL, as
709+
described in the preceding paragraph.
710+
706711
<div class=example>
707712
<p>For example, suppose the following rule:
708713

@@ -1130,8 +1135,8 @@ <h3 id=angles><span class=secno>6.1. </span> Angles: the &lsquo;<a
11301135
href="#rad"><code class=css>rad</code></a>&rsquo;, &lsquo;<a
11311136
href="#turn"><code class=css>turn</code></a>&rsquo; units</h3>
11321137

1133-
<p>Angle values are <i>dimensions</i> denoted by <dfn
1134-
id=angle-value>&lt;angle&gt;</dfn>. The angle unit identifiers are:
1138+
<p>Angle values are <a href="#dimension"><i>dimensions</i></a> denoted by
1139+
<dfn id=angle-value>&lt;angle&gt;</dfn>. The angle unit identifiers are:
11351140

11361141
<dl>
11371142
<dt><dfn id=deg title=deg>deg</dfn>
@@ -1162,8 +1167,8 @@ <h3 id=time><span class=secno>6.2. </span> Times: the &lsquo;<a
11621167
&lsquo;<a href="#s"><code class=css>s</code></a>&rsquo;, &lsquo;<a
11631168
href="#ms"><code class=css>ms</code></a>&rsquo; units</h3>
11641169

1165-
<p>Time values are <i>dimensions</i> denoted by <dfn
1166-
id=time-value>&lt;time&gt;</dfn>. The time unit identifiers are:
1170+
<p>Time values are <a href="#dimension"><i>dimensions</i></a> denoted by
1171+
<dfn id=time-value>&lt;time&gt;</dfn>. The time unit identifiers are:
11671172

11681173
<dl>
11691174
<dt><dfn id=s title=s>s</dfn>
@@ -1185,9 +1190,9 @@ <h3 id=frequency><span class=secno>6.3. </span> Frequencies: the &lsquo;<a
11851190
href="#hz"><code class=css>Hz</code></a>&rsquo;, &lsquo;<a
11861191
href="#khz"><code class=css>kHz</code></a>&rsquo; units</h3>
11871192

1188-
<p>Frequency values are <i>dimensions</i> denoted by <dfn
1189-
id=frequency-value>&lt;frequency&gt;</dfn>. The frequency unit identifiers
1190-
are:
1193+
<p>Frequency values are <a href="#dimension"><i>dimensions</i></a> denoted
1194+
by <dfn id=frequency-value>&lt;frequency&gt;</dfn>. The frequency unit
1195+
identifiers are:
11911196

11921197
<dl>
11931198
<dt><dfn id=hz title=Hz>Hz</dfn>
@@ -1207,9 +1212,9 @@ <h3 id=resolution><span class=secno>6.4. </span> Resolutions: the &lsquo;<a
12071212
href="#dpcm"><code class=css>dpcm</code></a>&rsquo;, and &lsquo;<a
12081213
href="#dppx"><code class=css>dppx</code></a>&rsquo; units</h3>
12091214

1210-
<p>Resolution units are <i>dimensions</i> denoted by <dfn
1211-
id=resolution-value>&lt;resolution></dfn>. The frequency unit identifiers
1212-
are:
1215+
<p>Resolution units are <a href="#dimension"><i>dimensions</i></a> denoted
1216+
by <dfn id=resolution-value>&lt;resolution></dfn>. The frequency unit
1217+
identifiers are:
12131218

12141219
<dl>
12151220
<dt><dfn id=dpi>dpi</dfn>

css3-values/Overview.src.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,10 @@ <h3 id="urls">
400400
algorithm for this process. For CSS style sheets, the base URI is that
401401
of the style sheet, not that of the source document.
402402

403+
<p>When a <i>&lt;url&gt;</i> appears in the computed value of a property,
404+
it is resolved to an absolute URL, as described in the preceding
405+
paragraph.</p>
406+
403407
<div class="example">
404408
<p>For example, suppose the following rule:
405409
<pre>body { background: url("tile.png") }</pre>

0 commit comments

Comments
 (0)