Skip to content

Commit c1cfdc6

Browse files
committed
[css-backgrounds-3] Clean up computed value / animation type lines.
1 parent 0ef2dbe commit c1cfdc6

File tree

1 file changed

+65
-55
lines changed

1 file changed

+65
-55
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 65 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ the background created by the background properties.
211211
<td>N/A
212212
<tr>
213213
<th>Computed value:
214-
<td>the computed color
214+
<td>computed color
215215
<tr>
216-
<th>Animatable:
217-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-color">color</a>
216+
<th>Animation type:
217+
<td>by computed value
218218
</table>
219219

220220
<p>This property sets the <span class=index
@@ -254,8 +254,8 @@ value associated with the bottom-most background image layer.
254254
<th>Computed value:
255255
<td>as specified, but with URIs made absolute
256256
<tr>
257-
<th>Animatable:
258-
<td>no
257+
<th>Animation type:
258+
<td>discrete
259259
</table>
260260

261261
<p>This property sets the background image(s) of an element. Images
@@ -338,11 +338,10 @@ other, fully opaque images).
338338
<td>N/A
339339
<tr>
340340
<th>Computed value:
341-
<td>A list, each item consisting of:
342-
two keywords, one per dimension
341+
<td>list, each item a pair of keywords, one per dimension
343342
<tr>
344-
<th>Animatable:
345-
<td>no
343+
<th>Animation type:
344+
<td>discrete
346345
</table>
347346

348347
<p>Specifies how background images are tiled after they have been
@@ -494,10 +493,10 @@ layer.
494493
<td>N/A
495494
<tr>
496495
<th>Computed value:
497-
<td>as specified
496+
<td>list, each item the keyword as specified
498497
<tr>
499-
<th>Animatable:
500-
<td>no
498+
<th>Animation type:
499+
<td>discrete
501500
</table>
502501

503502
<p>If background images are specified, this property specifies whether
@@ -603,12 +602,12 @@ layer.
603602
area</span> <em>minus</em> size of background image; see text
604603
<tr>
605604
<th>Computed value:
606-
<td>A list, each item consisting of:
605+
<td>list, each item
607606
a pair of offsets (horizontal and vertical) from the top left origin
608-
each given as a combination of an absolute length and a percentage
607+
each given as an absolutized length/percentage value
609608
<tr>
610-
<th>Animatable:
611-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-repeatable-list">repeatable list</a> of <a href="https://www.w3.org/TR/css3-transitions/#animtype-simple-list">simple list</a> of <a href="https://www.w3.org/TR/css3-transitions/#animtype-lpcalc">length, percentage, or calc</a>
609+
<th>Animation type:
610+
<td>repeatable list
612611
</table>
613612

614613
<p>If background images have been specified, this property specifies
@@ -789,10 +788,10 @@ image layer.
789788
<td>N/A
790789
<tr>
791790
<th>Computed value:
792-
<td>as specified
791+
<td>list, each item a keyword as specified
793792
<tr>
794-
<th>Animatable:
795-
<td>no
793+
<th>Animation type:
794+
<td>repeatable list
796795
</table>
797796

798797
<p>Determines the <dfn id="background-painting-area">background painting area</dfn>,
@@ -857,10 +856,10 @@ layer.
857856
<td>N/A
858857
<tr>
859858
<th>Computed value:
860-
<td>as specified
859+
<td>list, each item a keyword as specified
861860
<tr>
862-
<th>Animatable:
863-
<td>no
861+
<th>Animation type:
862+
<td>repeatable list
864863
</table>
865864

866865
<p>For elements rendered as a single box, specifies the
@@ -922,10 +921,11 @@ layer.
922921
<td>see text
923922
<tr>
924923
<th>Computed value:
925-
<td>as specified, but with lengths made absolute and omitted ''background-size/auto'' keywords filled in
924+
<td>list, each item a pair of sizes (one per axis)
925+
each represented as either a keyword or an absolutized length/percentage value
926926
<tr>
927-
<th>Animatable:
928-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-repeatable-list">repeatable list</a> of <a href="https://www.w3.org/TR/css3-transitions/#animtype-simple-list">simple list</a> of <a href="https://www.w3.org/TR/css3-transitions/#animtype-lpcalc">length, percentage, or calc</a> and keywords
927+
<th>Animation type:
928+
<td>repeatable list
929929
</table>
930930

931931
<p>Specifies the size of the background images. Where
@@ -1129,7 +1129,7 @@ layer.
11291129
<th>Computed value:
11301130
<td>see individual properties
11311131
<tr>
1132-
<th>Animatable:
1132+
<th>Animation type:
11331133
<td>see individual properties
11341134
</table>
11351135

@@ -1375,10 +1375,10 @@ color ('border-color'), and thickness ('border-width') of the border.
13751375
<td>N/A
13761376
<tr>
13771377
<th>Computed value:
1378-
<td>the computed color
1378+
<td>computed color
13791379
<tr>
1380-
<th>Animatable:
1381-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-color">color</a>
1380+
<th>Animation type:
1381+
<td>by computed value
13821382
</table>
13831383

13841384
<table class="propdef">
@@ -1445,10 +1445,10 @@ also the same as top.
14451445
<td>N/A
14461446
<tr>
14471447
<th>Computed value:
1448-
<td>specified value
1448+
<td>specified keyword
14491449
<tr>
1450-
<th>Animatable:
1451-
<td>no
1450+
<th>Animation type:
1451+
<td>discrete
14521452
</table>
14531453

14541454
<table class="propdef">
@@ -1474,7 +1474,7 @@ also the same as top.
14741474
<th>Computed value:
14751475
<td>see individual properties
14761476
<tr>
1477-
<th>Animatable:
1477+
<th>Animation type:
14781478
<td>see individual properties
14791479
</table>
14801480

@@ -1598,7 +1598,7 @@ the padding is less than the radius of the corner.
15981598
<td>absolute length; zero if the border style is ''border-style/none'' or ''hidden''
15991599
<tr>
16001600
<th>Animatable:
1601-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-length">length</a>
1601+
<td>by computed value
16021602
</table>
16031603

16041604
<table class="propdef">
@@ -1807,10 +1807,10 @@ the 'color' property. The fact that the
18071807
<a>border box</a>.
18081808
<tr>
18091809
<th>Computed value:
1810-
<td>two absolute <<length>> or percentages
1810+
<td>pair of absolutized length/percentage values
18111811
<tr>
18121812
<th>Animatable:
1813-
<td>as two values of <a href="https://www.w3.org/TR/css3-transitions/#animtype-lpcalc">length, percentage, or calc</a>
1813+
<td>by computed value
18141814
</table>
18151815

18161816
<table class=propdef>
@@ -2210,10 +2210,10 @@ this:
22102210
<td>N/A
22112211
<tr>
22122212
<th>Computed value:
2213-
<td>''border-image-source/none'' or the image with its URI made absolute
2213+
<td>the keyword ''border-image-source/none'' or the specified image with URIs made absolute
22142214
<tr>
2215-
<th>Animatable:
2216-
<td>no
2215+
<th>Animation type:
2216+
<td>discrete
22172217
</table>
22182218

22192219
<p>Specifies an image to use in place of the rendering specified by the 'border-style' properties
@@ -2247,10 +2247,10 @@ and the border image is drawn as described in the sections below.
22472247
<td>refer to size of the border image
22482248
<tr>
22492249
<th>Computed value:
2250-
<td>as four values, each a number or percentage, and optionally a ''fill'' keyword
2250+
<td>four values, each a number or percentage; and optionally a ''fill'' keyword
22512251
<tr>
2252-
<th>Animatable:
2253-
<td>no
2252+
<th>Animation type:
2253+
<td>by computed value
22542254
</table>
22552255

22562256
<p>This property specifies inward offsets from the top, right, bottom,
@@ -2328,10 +2328,10 @@ with no <i>specified size</i> and the <i>border image area</i> as the <i>default
23282328
<td>Relative to width/height of the <a>border image area</a>
23292329
<tr>
23302330
<th>Computed value:
2331-
<td>four values, each a percentage, number, ''border-image-width/auto'' keyword, or <<length>> made absolute
2331+
<td>four values, each a number, the keyword ''border-image-width/auto'', or an absolutized length/percentage value
23322332
<tr>
2333-
<th>Animatable:
2334-
<td>no
2333+
<th>Animation type:
2334+
<td>by computed value
23352335
</table>
23362336

23372337
<p>The border image is drawn inside an area called the
@@ -2401,10 +2401,10 @@ them by <var>f</var>.
24012401
<td>N/A
24022402
<tr>
24032403
<th>Computed value:
2404-
<td>four values, each a number or <<length>> made absolute
2404+
<td>four values, each a number or absolute length
24052405
<tr>
2406-
<th>Animatable:
2407-
<td>no
2406+
<th>Animation type:
2407+
<td>by computed value
24082408
</table>
24092409

24102410

@@ -2456,10 +2456,10 @@ viewport.
24562456
<td>N/A
24572457
<tr>
24582458
<th>Computed value:
2459-
<td>two keywords, one for each axis
2459+
<td>two keywords, one per axis
24602460
<tr>
2461-
<th>Animatable:
2462-
<td>no
2461+
<th>Animation type:
2462+
<td>discrete
24632463
</table>
24642464

24652465
<p>This property specifies how the images for the sides and the middle
@@ -2646,10 +2646,17 @@ has been moved to the <a href="https://www.w3.org/TR/css3-break/">CSS Fragmentat
26462646
<td>N/A
26472647
<tr>
26482648
<th>Computed value:
2649-
<td>any <<length>> made absolute; any specified color computed; otherwise as specified
2650-
<tr>
2651-
<th>Animatable:
2652-
<td>as <a href="https://www.w3.org/TR/css3-transitions/#animtype-shadow-list">shadow list</a>
2649+
<td>either the keyword ''box-shadow/none'' or
2650+
a list, each item consisting of four absolute lengths
2651+
plus a computed color and optionally also a ''box-shadow/inset'' keyword
2652+
<tr>
2653+
<th>Animation type:
2654+
<td>by computed value,
2655+
treating ''box-shadow/none'' as a zero-item list
2656+
and appending blank shadows (''transparent 0 0 0 0'')
2657+
with a corresponding ''box-shadow/inset'' keyword as needed
2658+
to match the longer list
2659+
if the the shorter list is otherwise compatible with the longer one
26532660
</table>
26542661

26552662
<p>The 'box-shadow' property attaches one or more drop-shadows to the box.
@@ -2983,6 +2990,9 @@ Changes since the 17 October 2017 Candidate Recommendation</h3>
29832990
<p>If the color is absent, <ins>it defaults to ''currentColor''</ins>
29842991
<del>the used color is taken from the 'color' property.</del>
29852992
</blockquote>
2993+
<li>
2994+
Cleaned up and regularized “Animation type” and “Computed value” lines
2995+
in the property definition tables.
29862996
</ul>
29872997

29882998
<h3 id="changes-2014-09">

0 commit comments

Comments
 (0)