File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1550,7 +1550,9 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: ‘<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 > ‘< a href ="#integer "> < code class =css > integer</ code > </ a > ’
15561558
@@ -1635,13 +1637,6 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: ‘<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: ‘< code
1640- class =css > background-image: attr(href);</ code > ’. This could be
1641- described as: "If the property only accepts one type of value (aside from
1642- ‘< code class =property > inherit</ code > ’ and ‘< code
1643- class =property > initial</ code > ’), 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 >
Original file line number Diff line number Diff 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 ''<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 >
You can’t perform that action at this time.
0 commit comments