Skip to content

Commit 3740b5a

Browse files
committed
Add <position> as a basic data type. Also clarify for <image> and <color> that future levels of their specs should be consulted as they exist.
1 parent 5930efe commit 3740b5a

2 files changed

Lines changed: 45 additions & 4 deletions

File tree

css3-values/Overview.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
254254

255255
<li><a href="#images"><span class=secno>7.2. </span> Images: the
256256
&lsquo;<code class=css>&lt;image&gt;</code>&rsquo; type</a>
257+
258+
<li><a href="#images"><span class=secno>7.3. </span> 2D Positioning: the
259+
&lsquo;<code class=css>&lt;position&gt;</code>&rsquo; type</a>
257260
</ul>
258261

259262
<li><a href="#functional-notation"><span class=secno>8. </span> Functional
@@ -1189,7 +1192,7 @@ <h3 id=colors><span class=secno>7.1. </span> Colors: the &lsquo;<a
11891192
<a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> and <a
11901193
href="http://www.w3.org/TR/css3-color/#colorunits">extended</a> in <a
11911194
href="#CSS3COLOR" rel=biblioentry>[CSS3COLOR]<!--{{!CSS3COLOR}}--></a>.
1192-
UAs that support CSS Color Level 3 must interpret <a
1195+
UAs that support CSS Color Level 3 or its successor must interpret <a
11931196
href="#color-value"><code>&lt;color&gt;</code></a> as defined therein.
11941197

11951198
<h3 id=images><span class=secno>7.2. </span> Images: the &lsquo;<a
@@ -1201,9 +1204,24 @@ <h3 id=images><span class=secno>7.2. </span> Images: the &lsquo;<a
12011204
href="http://www.w3.org/TR/css3-images/#image">extended</a> in <a
12021205
href="#CSS3-IMAGES"
12031206
rel=biblioentry>[CSS3-IMAGES]<!--{{!CSS3-IMAGES}}--></a>: UAs that support
1204-
CSS Image Values Level 3 must interpret <a
1207+
CSS Image Values Level 3 or its successor must interpret <a
12051208
href="#image-value"><code>&lt;image&gt;</code></a> as defined therein.
12061209

1210+
<h3 id=images><span class=secno>7.3. </span> 2D Positioning: the &lsquo;<a
1211+
href="#position-value"><code class=css>&lt;position&gt;</code></a>&rsquo;
1212+
type</h3>
1213+
1214+
<p>The <dfn id=position-value><code>&lt;position&gt;</code></dfn> data type
1215+
is defined herein as equivalent to the <a
1216+
href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-position"><code>&lt;'background-position'&gt;</code></a>
1217+
syntax defined in <a href="#CSS21"
1218+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>. It is <a
1219+
href="http://www.w3.org/TR/css3-background/#the-background-position">extended</a>
1220+
in <a href="#CSS3BG" rel=biblioentry>[CSS3BG]<!--{{!CSS3BG}}--></a>: UAs
1221+
that support CSS Backgrounds &amp; Borders Level 3 or its successor must
1222+
interpret <a href="#position-value"><code>&lt;position&gt;</code></a> as
1223+
defined therein.
1224+
12071225
<h2 id=functional-notation><span class=secno>8. </span> Functional
12081226
Notations</h2>
12091227

@@ -1735,6 +1753,16 @@ <h3 class=no-num id=normative-references>Normative references</h3>
17351753
</dd>
17361754
<!---->
17371755

1756+
<dt id=CSS3BG>[CSS3BG]
1757+
1758+
<dd>Bert Bos; Elika J. Etemad; Brad Kemper. <a
1759+
href="http://www.w3.org/TR/2011/CR-css3-background-20110215"><cite>CSS
1760+
Backgrounds and Borders Module Level 3.</cite></a> 15 February 2011. W3C
1761+
Candidate Recommendation. (Work in progress.) URL: <a
1762+
href="http://www.w3.org/TR/2011/CR-css3-background-20110215">http://www.w3.org/TR/2011/CR-css3-background-20110215</a>
1763+
</dd>
1764+
<!---->
1765+
17381766
<dt id=CSS3COLOR>[CSS3COLOR]
17391767

17401768
<dd>Tantek &#199;elik; Chris Lilley; L. David Baron. <a
@@ -1858,6 +1886,10 @@ <h2 class=no-num id=index>Index</h2>
18581886
href="#percentage-value"
18591887
title="&lt;percentage&gt;"><strong>4.2.</strong></a>
18601888

1889+
<li><a href="#position-value"><code>&lt;position&gt;</code></a>, <a
1890+
href="#position-value" title="&lt;position&gt;"><strong>7.3.</strong></a>
1891+
1892+
18611893
<li>rad, <a href="#rad" title=rad><strong>6.1.</strong></a>
18621894

18631895
<li>reference pixel, <a href="#reference-pixel"

css3-values/Overview.src.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ <h3 id="colors">
798798
<a href="http://www.w3.org/TR/CSS21/syndata.html#color-units">defined</a>
799799
in [[!CSS21]] and
800800
<a href="http://www.w3.org/TR/css3-color/#colorunits">extended</a> in [[!CSS3COLOR]].
801-
UAs that support CSS Color Level 3 must interpret <code>&lt;color&gt;</code>
801+
UAs that support CSS Color Level 3 or its successor must interpret <code>&lt;color&gt;</code>
802802
as defined therein.
803803

804804
<h3 id="images">
@@ -807,9 +807,18 @@ <h3 id="images">
807807
<p>The <dfn id="image-value"><code>&lt;image&gt;</code></dfn> data type is
808808
defined herein as equivalent to <code>&lt;url&gt;</code>.
809809
It is <a href="http://www.w3.org/TR/css3-images/#image">extended</a> in
810-
[[!CSS3-IMAGES]]: UAs that support CSS Image Values Level 3 must interpret
810+
[[!CSS3-IMAGES]]: UAs that support CSS Image Values Level 3 or its successor must interpret
811811
<code>&lt;image&gt;</code> as defined therein.
812812

813+
<h3 id="images">
814+
2D Positioning: the ''&lt;position&gt;'' type</h3>
815+
816+
<p>The <dfn id="position-value"><code>&lt;position&gt;</code></dfn> data type is
817+
defined herein as equivalent to the <a href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-position"><code>&lt;'background-position'&gt;</code></a> syntax defined in [[!CSS21]].
818+
It is <a href="http://www.w3.org/TR/css3-background/#the-background-position">extended</a> in
819+
[[!CSS3BG]]: UAs that support CSS Backgrounds &amp; Borders Level 3 or its successor must interpret
820+
<code>&lt;position&gt;</code> as defined therein.
821+
813822
<h2 id="functional-notation">
814823
Functional Notations</h2>
815824

0 commit comments

Comments
 (0)