Skip to content

Commit baf1f38

Browse files
committed
[css-images] Fix <position> refs.
--HG-- extra : rebase_source : 60967bbe0ecf56247e1816a941e7fe8a4509a0f0
1 parent 307fce6 commit baf1f38

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

css-images/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Editor: fantasai, Mozilla, http://fantasai.inkedblade.net/contact
1212
Abstract: This module contains the features of CSS level 4 relating to the <<image>> type and replaced elements. It includes and extends the functionality of CSS Image Values and Replaced Content Module Level 3. The main extensions compared to level&nbsp;3 are several additions to the <<image>> type, additions to the <<gradient>> type, extentions to the ''image()'' function, definitions for interpolating several <<image>> types, and several properties controlling the interaction of replaced elements and CSS's layout models.
1313
!Issue Tracking: <a href="http://www.w3.org/Style/CSS/Tracker/products/27">http://www.w3.org/Style/CSS/Tracker/products/27</a>
1414
Previous Version: http://www.w3.org/TR/2012/WD-css4-images-20120911/
15-
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, <ending-shape>, Map, <position>
16-
Link Defaults: css21 (property) display, css-values-3 (type) <position>
15+
Ignored Terms: <offset>, background positioning area, border image area, <meetorslice>, <ending-shape>, Map
16+
Link Defaults: css21 (property) display
1717
</pre>
1818

1919
<h2 id="intro">

css-images/Overview.html

+15-15
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Image Values and Replaced Content Module Level 4</h1>
5656
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20140417>17 April 2014</span></span></span></h2>
57+
<span class=dt-updated><span class=value-title title=20140422>22 April 2014</span></span></span></h2>
5858
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-images-4/>http://dev.w3.org/csswg/css-images-4/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css4-images/>http://www.w3.org/TR/css4-images/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-images-4/>http://dev.w3.org/csswg/css-images-4/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/WD-css4-images-20120911/ rel=previous>http://www.w3.org/TR/2012/WD-css4-images-20120911/</a>
5959
<dt>Feedback:</dt>
6060
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-images%5D%20feedback">www-style@w3.org</a>
@@ -1238,8 +1238,8 @@ <h4 class="no-toc heading settled heading" data-level=4.2.1 id=radial-gradient-s
12381238
<p> The radial gradient syntax is:
12391239

12401240
<pre> <dfn class=css-code data-dfn-type=function data-export="" id=funcdef-radial-gradient>radial-gradient()<a class=self-link href=#funcdef-radial-gradient></a></dfn> = radial-gradient(
1241-
[ [ <a class="production css-code" data-link-type=type title="<ending-shape>">&lt;ending-shape&gt;</a> || <a class="production css-code" data-link-type=type href=#typedef-size title="<size>">&lt;size&gt;</a> ] [ at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> ]? , |
1242-
at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a>,
1241+
[ [ <a class="production css-code" data-link-type=type title="<ending-shape>">&lt;ending-shape&gt;</a> || <a class="production css-code" data-link-type=type href=#typedef-size title="<size>">&lt;size&gt;</a> ] [ at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> ]? , |
1242+
at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a>,
12431243
]?
12441244
<a class="production css-code" data-link-type=type href=#typedef-color-stop-list title="<color-stop-list>">&lt;color-stop-list&gt;</a>
12451245
)
@@ -1254,15 +1254,15 @@ <h4 class="no-toc heading settled heading" data-level=4.2.1 id=radial-gradient-s
12541254
We should add the ability to move the focus of the gradient,
12551255
as in the original -webkit-gradient() function.
12561256
See proposal in <a href=http://lists.w3.org/Archives/Public/www-style/2011Nov/0210.html>http://lists.w3.org/Archives/Public/www-style/2011Nov/0210.html</a>
1257-
for "from <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a>" and "from offset <a class="production css-code" data-link-type=type title="<offset>">&lt;offset&gt;</a>".
1257+
for "from <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a>" and "from offset <a class="production css-code" data-link-type=type title="<offset>">&lt;offset&gt;</a>".
12581258

12591259
<p> The arguments are defined as follows:
12601260

12611261
<dl data-dfn-for="radial-gradient() repeating-radial-gradient()" data-dfn-type=value>
1262-
<dt><dfn class=css-code data-dfn-for="radial-gradient() repeating-radial-gradient()" data-dfn-type=value data-export="" id=valuedef-position><a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a><a class=self-link href=#valuedef-position></a></dfn>
1262+
<dt><dfn class=css-code data-dfn-for="radial-gradient() repeating-radial-gradient()" data-dfn-type=value data-export="" id=valuedef-position><a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a><a class=self-link href=#valuedef-position></a></dfn>
12631263
<dd>
12641264
Determines the <dfn data-dfn-type=dfn data-noexport="" id=gradient-center>gradient center<a class=self-link href=#gradient-center></a></dfn> of the gradient.
1265-
The <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> value type
1265+
The <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> value type
12661266
(which is also used for <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-position title=background-position>background-position</a>)
12671267
is defined in <a data-biblio-type=normative data-link-type=biblio href=#css3val title=css3val>[CSS3VAL]</a>,
12681268
and is resolved using the center-point as the object area
@@ -1358,10 +1358,10 @@ <h4 class="no-toc heading settled heading" data-level=4.2.1 id=radial-gradient-s
13581358
the grammar becomes:
13591359

13601360
<pre> radial-gradient() = radial-gradient(
1361-
[ [ circle || <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>">&lt;length&gt;</a> ] [ at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> ]? , |
1362-
[ ellipse || [ <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>">&lt;length&gt;</a> | <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a> ]{2} ] [ at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> ]? , |
1363-
[ [ circle | ellipse ] || <a class="production css-code" data-link-type=type href=#typedef-extent-keyword title="<extent-keyword>">&lt;extent-keyword&gt;</a> ] [ at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> ]? , |
1364-
at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> ,
1361+
[ [ circle || <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>">&lt;length&gt;</a> ] [ at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> ]? , |
1362+
[ ellipse || [ <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#length-value title="<length>">&lt;length&gt;</a> | <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a> ]{2} ] [ at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> ]? , |
1363+
[ [ circle | ellipse ] || <a class="production css-code" data-link-type=type href=#typedef-extent-keyword title="<extent-keyword>">&lt;extent-keyword&gt;</a> ] [ at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> ]? , |
1364+
at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> ,
13651365
]?
13661366
<a class="production css-code" data-link-type=type href=#typedef-color-stop title="<color-stop>">&lt;color-stop&gt;</a> [ , <a class="production css-code" data-link-type=type href=#typedef-color-stop title="<color-stop>">&lt;color-stop&gt;</a> ]+
13671367
)
@@ -1504,11 +1504,11 @@ <h4 class="no-toc heading settled heading" data-level=4.3.1 id=conic-gradient-sy
15041504
<p> The syntax for a conic gradient is:
15051505

15061506
<pre class=prod> <dfn class=css-code data-dfn-type=function data-export="" id=funcdef-conic-gradient>conic-gradient()<a class=self-link href=#funcdef-conic-gradient></a></dfn> = conic-gradient(
1507-
[ at <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> , ]?
1507+
[ at <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> , ]?
15081508
<a class="production css-code" data-link-type=type href=#typedef-angular-color-stop-list title="<angular-color-stop-list>">&lt;angular-color-stop-list&gt;</a>
15091509
)
15101510
</pre>
1511-
<p> The <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> argument is defined in [!CSS3VAL],
1511+
<p> The <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> argument is defined in [!CSS3VAL],
15121512
and is resolved using the center-point as the object area
15131513
and the gradient box as the positioning area.
15141514
If this argument is omitted,
@@ -2236,9 +2236,9 @@ <h3 class="heading settled heading" data-level=5.5 id=the-object-fit><span class
22362236
<h3 class="heading settled heading" data-level=5.6 id=the-object-position><span class=secno>5.6 </span><span class=content>
22372237
Positioning Objects: the <a class=property data-link-type=propdesc href=#propdef-object-position title=object-position>object-position</a> property</span><a class=self-link href=#the-object-position></a></h3>
22382238

2239-
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-object-position>object-position<a class=self-link href=#propdef-object-position></a></dfn><tr><th>Value:<td class=prod><a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a><tr><th>Initial:<td>50% 50%<tr><th>Applies to:<td>replaced elements<tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>specified value<tr><th>Canonical order:<td>the horizontal component of the <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a>, followed by the vertical component<tr><th>Percentages:<td>refer to width and height of element itself<tr><th>Animatable:<td>yes</table>
2239+
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-object-position>object-position<a class=self-link href=#propdef-object-position></a></dfn><tr><th>Value:<td class=prod><a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a><tr><th>Initial:<td>50% 50%<tr><th>Applies to:<td>replaced elements<tr><th>Inherited:<td>no<tr><th>Media:<td>visual<tr><th>Computed value:<td>specified value<tr><th>Canonical order:<td>the horizontal component of the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a>, followed by the vertical component<tr><th>Percentages:<td>refer to width and height of element itself<tr><th>Animatable:<td>yes</table>
22402240
<p> The <a class=property data-link-type=propdesc href=#propdef-object-position title=object-position>object-position</a> property determines the alignment of the replaced element inside its box.
2241-
The <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a> value type
2241+
The <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a> value type
22422242
(which is also used for <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-position title=background-position>background-position</a>)
22432243
is defined in <a data-biblio-type=normative data-link-type=biblio href=#css3val title=css3val>[CSS3VAL]</a>,
22442244
and is resolved using the <a data-link-type=dfn href=#concrete-object-size title="concrete object size">concrete object size</a> as the object area
@@ -3014,7 +3014,7 @@ <h2 class="no-num heading settled" id=issues-index><span class=content>Issues In
30143014
We should add the ability to move the focus of the gradient,
30153015
as in the original -webkit-gradient() function.
30163016
See proposal in <a href=http://lists.w3.org/Archives/Public/www-style/2011Nov/0210.html>http://lists.w3.org/Archives/Public/www-style/2011Nov/0210.html</a>
3017-
for "from <a class="production css-code" data-link-type=type title="<position>">&lt;position&gt;</a>" and "from offset <a class="production css-code" data-link-type=type title="<offset>">&lt;offset&gt;</a>".
3017+
for "from <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-backgrounds-3/#position title="<position>">&lt;position&gt;</a>" and "from offset <a class="production css-code" data-link-type=type title="<offset>">&lt;offset&gt;</a>".
30183018

30193019
<a href=#issue-403592eb></a></div><div class=issue>
30203020
Anything else that might be useful? Defining the shape of the gradient as elliptical, perhaps?

0 commit comments

Comments
 (0)