Skip to content

Commit 33ac7c2

Browse files
committed
Make base URL relative to element (not just the document, in case of element-specific rules)
1 parent a1c4ddd commit 33ac7c2

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

css3-values/Overview.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
dt + dt::before { content: ", "; }
1616
dt { display: inline; }
1717
</style>
18-
<link href="../css-module/default.css" rel=stylesheet type="text/css">
18+
<link href="../default.css" rel=stylesheet type="text/css">
1919
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
2020
type="text/css">
2121

@@ -26,14 +26,13 @@
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 13 December
30-
2011</h2>
29+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 January 2012</h2>
3130

3231
<dl>
3332
<dt>This version:
3433

3534
<dd><a
36-
href="http://www.w3.org/TR/2011/ED-css3-values-20111213/">http://www.w3.org/TR/2011/ED-css3-values-20111213/</a>
35+
href="http://www.w3.org/TR/2012/ED-css3-values-20120103/">http://www.w3.org/TR/2012/ED-css3-values-20120103/</a>
3736

3837
<dt>Latest version:
3938

@@ -64,7 +63,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 13 December
6463
<!--begin-copyright-->
6564
<p class=copyright><a
6665
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
67-
rel=license>Copyright</a> &copy; 2011 <a
66+
rel=license>Copyright</a> &copy; 2012 <a
6867
href="http://www.w3.org/"><acronym
6968
title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
7069
href="http://www.csail.mit.edu/"><acronym
@@ -1573,8 +1572,8 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: &lsquo;<a
15731572
with a generic error condition. (i.e. it shouldn't be an FTP URI that
15741573
causes a DNS error, or an HTTP URI that results in a 404, it should be a
15751574
nondescript error condition.) Relative URLs must be made absolute
1576-
according to the rules of the document language; they are not relative to
1577-
the style sheet.
1575+
according to the rules of the document language as applied to URLs
1576+
originating from the element; they are not relative to the style sheet.
15781577

15791578
<dt>&lsquo;<a href="#integer"><code class=css>integer</code></a>&rsquo;
15801579

@@ -1761,10 +1760,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
17611760
<dt id=CSS3-IMAGES>[CSS3-IMAGES]
17621761

17631762
<dd>Elika J. Etemad; Tab Atkins Jr. <a
1764-
href="http://www.w3.org/TR/2011/WD-css3-images-20110908/"><cite>CSS Image
1765-
Values and Replaced Content Module Level 3.</cite></a> 8 September 2011.
1763+
href="http://www.w3.org/TR/2011/WD-css3-images-20111206/"><cite>CSS Image
1764+
Values and Replaced Content Module Level 3.</cite></a> 6 December 2011.
17661765
W3C Working Draft. (Work in progress.) URL: <a
1767-
href="http://www.w3.org/TR/2011/WD-css3-images-20110908/">http://www.w3.org/TR/2011/WD-css3-images-20110908/</a>
1766+
href="http://www.w3.org/TR/2011/WD-css3-images-20111206/">http://www.w3.org/TR/2011/WD-css3-images-20111206/</a>
17681767
</dd>
17691768
<!---->
17701769

css3-values/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
dt + dt::before { content: ", "; }
1515
dt { display: inline; }
1616
</style>
17-
<link rel="stylesheet" type="text/css" href="../css-module/default.css">
17+
<link rel="stylesheet" type="text/css" href="../default.css">
1818
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS].css">
1919
</head>
2020

@@ -1098,8 +1098,8 @@ <h3 id="attr">
10981098
condition. (i.e. it shouldn't be an FTP URI that causes a DNS
10991099
error, or an HTTP URI that results in a 404, it should be a
11001100
nondescript error condition.) Relative URLs must be made absolute
1101-
according to the rules of the document language; they are not
1102-
relative to the style sheet.
1101+
according to the rules of the document language as applied to URLs
1102+
originating from the element; they are not relative to the style sheet.
11031103

11041104
<dt>''integer''
11051105
<dd>The attribute value will be interpreted as a CSS ''&lt;integer>''.

0 commit comments

Comments
 (0)