Skip to content

Commit c43eb2a

Browse files
committed
[css-values-5][css-backgrounds-3][editorial] Fix bikeshed errors.
1 parent 15c275f commit c43eb2a

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Backgrounds</h2>
131131
Layering Multiple Background Images</h3>
132132

133133
The background of a box can have multiple
134-
<dfn lt="background image layer" local-lt="layer">background image layers</dfn>.
134+
<dfn export lt="background image layer" local-lt="layer">background image layers</dfn>.
135135
The number of layers is determined by
136136
the number of comma-separated values in the 'background-image' property.
137137
Note that a value of ''background-image/none'' still creates a layer.
@@ -268,7 +268,7 @@ Base Color: the 'background-color' property</h3>
268268
color-behind-images.htm
269269
</wpt>
270270

271-
This property sets the <dfn id="background-color-layer">background color</dfn> of a box.
271+
This property sets the <dfn export id="background-color-layer">background color</dfn> of a box.
272272
This color is drawn behind any background images.
273273

274274
<div class="example">
@@ -326,7 +326,7 @@ Image Sources: the 'background-image' property</h3>
326326
parsing/background-image-valid.html
327327
</wpt>
328328

329-
This property specifies the <dfn lt="background image" local-lt="image" id="background-images">background image(s)</dfn> of an element.
329+
This property specifies the <dfn export lt="background image" local-lt="image" id="background-images">background image(s)</dfn> of an element.
330330
Images are drawn with the first specified one on top (closest to the user)
331331
and each subsequent image behind the previous one.
332332
The property's value is given as a comma-separated list
@@ -500,11 +500,10 @@ Tiling Images: the 'background-repeat' property</h3>
500500
<dt><dfn>round</dfn>
501501
<dd>
502502
The [=image=] is repeated as often as will fit within the
503-
<span class=index>background positioning area.</span> If it doesn't
503+
[=background positioning area=]. If it doesn't
504504
fit a whole number of times, it is rescaled so that it does.
505-
See the formula under 'background-size'. If the <span
506-
class=index>background
507-
painting area</span> is larger than the background positioning area, then
505+
See the formula under 'background-size'.
506+
If the [=background painting area=] is larger than the background positioning area, then
508507
the pattern repeats to fill the background painting area.
509508

510509
<dt><dfn>no-repeat</dfn>
@@ -712,7 +711,7 @@ Affixing Images: the 'background-attachment' property</h3>
712711
Initial: 0% 0%
713712
Applies to: all elements
714713
Inherited: no
715-
Percentages: refer to size of <span class=index>background positioning area</span>
714+
Percentages: refer to size of [=background positioning area=]
716715
<em>minus</em> size of background image; see text
717716
Computed value: list,
718717
each item a pair of offsets (horizontal and vertical) from the top left origin
@@ -970,7 +969,7 @@ Painting Area: the 'background-clip' property</h3>
970969
parsing/background-clip-valid.html
971970
</wpt>
972971

973-
Determines the <dfn>background painting area</dfn>,
972+
Determines the <dfn export>background painting area</dfn>,
974973
which determines the area within which the background is painted.
975974
Values have the following meanings:
976975

@@ -1052,7 +1051,7 @@ Positioning Area: the 'background-origin' property</h3>
10521051
</wpt>
10531052

10541053

1055-
This property determines the <dfn>background positioning area</dfn>:
1054+
This property determines the <dfn export>background positioning area</dfn>:
10561055
the area within which any background images are positioned.
10571056
For elements rendered as multiple [=box fragments=]
10581057
(e.g., inline boxes on several lines, boxes on several pages),
@@ -2771,7 +2770,7 @@ Image Source: the 'border-image-source' property</h3>
27712770
If the value is ''border-image-source/none'' or if the image cannot be displayed
27722771
(or the property doesn't apply), the border styles will be used;
27732772
otherwise the element's 'border-style' borders are not drawn
2774-
and this <dfn id="border-image-dfn">border image</dfn> is drawn
2773+
and this <dfn export id="border-image-dfn">border image</dfn> is drawn
27752774
as described in the sections below.
27762775

27772776
<h3 id="border-image-slice" oldids="the-border-image-slice">
@@ -2906,13 +2905,13 @@ Drawing Areas: the 'border-image-width' property</h3>
29062905
parsing/border-image-width-valid.html
29072906
</wpt>
29082907

2909-
The [=border image=] is drawn inside an area called the <dfn>border image area</dfn>.
2908+
The [=border image=] is drawn inside an area called the <dfn export>border image area</dfn>.
29102909
This is an area whose boundaries by default correspond to the [=border box=],
29112910
see 'border-image-outset'.
29122911

29132912
The four values of 'border-image-width' specify offsets
29142913
that are used to divide the [=border image area=] into nine
2915-
<dfn lt="border image region" local-lt="region">regions</dfn>.
2914+
<dfn export lt="border image region" local-lt="region">regions</dfn>.
29162915
The offsets represent inward distances from
29172916
the top, right, bottom, and left sides of the area, respectively.
29182917

css-values-5/Overview.bs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ Editor: Tab Atkins, Google, http://xanthir.com/contact/, w3cid 42199
1111
Editor: Elika J. Etemad / fantasai, Apple, http://fantasai.inkedblade.net/contact, w3cid 35400
1212
Editor: Miriam E. Suzanne, Invited Expert, http://miriamsuzanne.com/contact, w3cid 117151
1313
Abstract: This CSS module describes the common values and units that CSS properties accept and the syntax used for describing them in CSS property definitions.
14-
Ignored Terms: <spacing-limit>, containing block, property
14+
Ignored Terms: <spacing-limit>, containing block, property, <wq-name>
1515
Ignored Vars: Cn+1, n
1616
Inline Github Issues: no
1717
Default Highlight: css
1818
</pre>
1919
<pre class='link-defaults'>
20-
spec: css-values-4; type: dfn; text: determine the type of a calculation
21-
spec: selectors-4; type: dfn; text: selector
20+
spec:css-values-4; type: dfn; text: determine the type of a calculation
21+
spec:selectors-4; type: dfn; text: selector
2222
spec:css-conditional-5; type:type; text:<size-feature>
2323
spec:css-conditional-5; type:dfn; text:container feature
2424
spec:css-conditional-5; type:type; text:<container-name>
25+
spec:html; type:element; text:link
2526
</pre>
2627
<style>
2728
code, small { white-space: nowrap }
@@ -237,7 +238,7 @@ Request URL Modifiers</h4>
237238
To <dfn export>apply request modifiers from URL value</dfn>
238239
given a [=/request=] |req|
239240
and a <<url>> |url|,
240-
call the [=request modifier steps=] for |url|'s <<request-url-modifier>>s in sequence
241+
call the [=URL request modifier steps=] for |url|'s <<request-url-modifier>>s in sequence
241242
given |req|.
242243
</div>
243244

@@ -304,7 +305,7 @@ Request URL Modifiers</h4>
304305
and a <<length-percentage>> as the second value represents
305306
the vertical position as an offset between their top edges.
306307

307-
If both keywords are one of ''start'' or ''end'',
308+
If both keywords are one of ''<position>/start'' or ''<position>/end'',
308309
the first one represents the [=block axis=]
309310
and the second the [=inline axis=].
310311

@@ -353,7 +354,7 @@ Request URL Modifiers</h4>
353354
representing the distance between the left edges and top edges (respectively)
354355
of the [=alignment subject=] and [=alignment container=].
355356

356-
<dl dfn-for=background-position dfn-type=value>
357+
<dl dfn-for="<position>" dfn-type=value>
357358
<dt><dfn><<length-percentage>></dfn>
358359
<dd>
359360
A <<length-percentage>> value specifies the size of the offset
@@ -365,9 +366,9 @@ Request URL Modifiers</h4>
365366
the top left corner of the [=background positioning area=].
366367

367368
A <<percentage>> for the horizontal offset is relative to
368-
(<var>width of [=alignment container=]</var> - <var>width of [=alignment subject=]</var>).
369+
(<var ignore>width of [=alignment container=]</var> - <var ignore>width of [=alignment subject=]</var>).
369370
A <<percentage>> for the vertical offset is relative to
370-
(<var>height of [=alignment container=]</var> - <var>height of [=alignment subject=]</var>).
371+
(<var ignore>height of [=alignment container=]</var> - <var ignore>height of [=alignment subject=]</var>).
371372

372373
<div class=example>
373374
For example, with a value pair of ''0% 0%'',
@@ -473,7 +474,7 @@ Serializing <<position>></h4>
473474
<dd>
474475
* Keywords and offsets are both serialized.
475476
* Components are serialized horizontal first, then vertical;
476-
alternatively [=block-axis=] first, then [=inline-axis=].
477+
alternatively [=block-axis=] first, then [=inline-axis=].
477478
</dl>
478479

479480
Note: <<position>> values are never serialized as a single value,
@@ -489,13 +490,13 @@ Serializing <<position>></h4>
489490
<h4 id="combine-positions">
490491
Combination of <<position>></h4>
491492

492-
<a>Interpolation</a> of <<position>> is defined as
493+
<l spec=css-values-4>[=Interpolation=]</l> of <<position>> is defined as
493494
the independent interpolation of each component (x, y)
494495
normalized as an offset from the top left corner
495496
as a <<length-percentage>>.
496497

497-
<a>Addition</a> of <<position>> is likewise defined as
498-
the independent <a>addition</a> each component (x, y)
498+
<l spec=css-values-4>[=value addition|Addition=]</l> of <<position>> is likewise defined as
499+
the independent <l spec=css-values-4>[=value addition|addition=]</l> each component (x, y)
499500
normalized as an offset from the top left corner
500501
as a <<length-percentage>>.
501502

css-values-5/images/bg-pos.png

7.03 KB
Loading

0 commit comments

Comments
 (0)