Skip to content

Commit 1d9e812

Browse files
committed
remove issue about implied types per WG resolution ISSUE-191 <http://lists.w3.org/Archives/Public/www-style/2011Oct/0482.html>; clarify that relative URLs in the document are relative to the document
1 parent 86d8f37 commit 1d9e812

2 files changed

Lines changed: 6 additions & 15 deletions

File tree

css3-values/Overview.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,9 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: &lsquo;<a
15501550
default is a UA-dependent URI defined to point to a non-existent document
15511551
with a generic error condition. (i.e. it shouldn't be an FTP URI that
15521552
causes a DNS error, or an HTTP URI that results in a 404, it should be a
1553-
nondescript error condition.)
1553+
nondescript error condition.) Relative URLs must be made absolute
1554+
according to the rules of the document language; they are not relative to
1555+
the style sheet.
15541556

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

@@ -1635,13 +1637,6 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: &lsquo;<a
16351637
relevant units.
16361638
</dl>
16371639

1638-
<p class=issue>Ideally, it shouldn't be necessary to specify the type if it
1639-
is obvious. For example, this should be valid: &lsquo;<code
1640-
class=css>background-image: attr(href);</code>&rsquo;. This could be
1641-
described as: "If the property only accepts one type of value (aside from
1642-
&lsquo;<code class=property>inherit</code>&rsquo; and &lsquo;<code
1643-
class=property>initial</code>&rsquo;), that type is implied".
1644-
16451640
<div class=example>
16461641
<p>This example shows the use of attr() to visually illustrate data in an
16471642
XML file:</p>

css3-values/Overview.src.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,9 @@ <h3 id="attr">
10831083
to point to a non-existent document with a generic error
10841084
condition. (i.e. it shouldn't be an FTP URI that causes a DNS
10851085
error, or an HTTP URI that results in a 404, it should be a
1086-
nondescript error condition.)
1086+
nondescript error condition.) Relative URLs must be made absolute
1087+
according to the rules of the document language; they are not
1088+
relative to the style sheet.
10871089

10881090
<dt>''integer''
10891091
<dd>The attribute value will be interpreted as a CSS ''&lt;integer>''.
@@ -1135,12 +1137,6 @@ <h3 id="attr">
11351137
units.
11361138
</dl>
11371139

1138-
<p class="issue">Ideally, it shouldn't be necessary to specify the
1139-
type if it is obvious. For example, this should be valid:
1140-
''background-image: attr(href);''. This could be described as:
1141-
"If the property only accepts one type of value (aside from
1142-
'inherit' and 'initial'), that type is implied".</p>
1143-
11441140
<div class="example">
11451141
<p>This example shows the use of attr() to visually illustrate data
11461142
in an XML file:</p>

0 commit comments

Comments
 (0)