Skip to content

Commit 7dc439c

Browse files
committed
[css-backgrounds-3][editorial] Replace <box> definition with <visual-box> reference.
1 parent 7ebecab commit 7dc439c

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ image layer.
662662

663663
<pre class="propdef">
664664
Name: background-clip
665-
Value: <<box>>#
665+
Value: <<visual-box>>#
666666
Initial: border-box
667667
Applies to: all elements
668668
Inherited: no
@@ -673,22 +673,18 @@ Animation type: repeatable list
673673

674674
<p>Determines the <dfn id="background-painting-area">background painting area</dfn>,
675675
which determines the area within which the background is painted.
676-
The syntax of the property is given with
677-
678-
<pre class=prod><dfn><<box>></dfn> = border-box | padding-box | content-box</pre>
679-
680-
<p>Values have the following meanings:
676+
Values have the following meanings:
681677

682678
<dl dfn-for=background-clip dfn-type=value>
683679
<dt><dfn>border-box</dfn></dt>
684680
<dd>The background is painted within (clipped to) the
685-
<span>border box.</span>
681+
[=border box=].
686682
<dt><dfn>padding-box</dfn></dt>
687683
<dd>The background is painted within (clipped to) the
688-
<span>padding box.</span>
684+
[=padding box=].
689685
<dt><dfn>content-box</dfn></dt>
690686
<dd>The background is painted within (clipped to) the
691-
<span>content box.</span>
687+
[=content box=].
692688
</dl>
693689

694690
<p class=note>Note that the root element has a different <span>background
@@ -714,7 +710,7 @@ layer.
714710

715711
<pre class="propdef">
716712
Name: background-origin
717-
Value: <<box>>#
713+
Value: <<visual-box>>#
718714
Initial: padding-box
719715
Applies to: all elements
720716
Inherited: no
@@ -974,8 +970,8 @@ Animation type: see individual properties
974970
<p>Where
975971

976972
<pre class=prod>
977-
<dfn>&lt;bg-layer></dfn> = <<bg-image>> || <<bg-position>> [ / <<bg-size>> ]? || <<repeat-style>> || <<attachment>> || <<box>> || <<box>>
978-
<dfn>&lt;final-bg-layer></dfn> = <<bg-image>> || <<bg-position>> [ / <<bg-size>> ]? || <<repeat-style>> || <<attachment>> || <<box>> || <<box>> || <<'background-color'>></pre>
973+
<dfn>&lt;bg-layer></dfn> = <<bg-image>> || <<bg-position>> [ / <<bg-size>> ]? || <<repeat-style>> || <<attachment>> || <<visual-box>> || <<visual-box>>
974+
<dfn>&lt;final-bg-layer></dfn> = <<bg-image>> || <<bg-position>> [ / <<bg-size>> ]? || <<repeat-style>> || <<attachment>> || <<visual-box>> || <<visual-box>> || <<'background-color'>></pre>
979975

980976
<p class=note>Note that a color is permitted in
981977
<<final-bg-layer>>, but not in <<bg-layer>>.
@@ -996,7 +992,7 @@ that property's initial value, then assigns any explicit values specified
996992
for this layer in the declaration. Finally 'background-color' is set to
997993
the specified color, if any, else set to its initial value.
998994

999-
<p>If one <<box>> value is present then it sets
995+
<p>If one <<visual-box>> value is present then it sets
1000996
both 'background-origin' and 'background-clip' to that value.
1001997
If two values are present, then the first sets 'background-origin'
1002998
and the second 'background-clip'.

0 commit comments

Comments
 (0)