Skip to content

Commit ed78c13

Browse files
committed
[css-backgrounds-3] Define background-position serialization. #2274
1 parent 49c08c8 commit ed78c13

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,17 @@ other comma-separated background properties to form each background
657657
image layer.
658658

659659

660+
<h4 id="bg-position-serialization">
661+
Serialization of 'background-position' values</h4>
662+
663+
The [=specified value=] and [=computed value=] of the <<bg-position>> type
664+
serializes exactly as defined in [[CSS-VALUES-4]] for <<position>>.
665+
For 3-value productions
666+
(which are not valid in <<position>>),
667+
the [=specified value=] serialization
668+
is identical to the equivalent 4-value syntax
669+
except that the omitted offset remains omitted.
670+
660671

661672
<h3 id="background-clip" oldids="the-background-clip">Painting Area: the 'background-clip' property</h3>
662673

@@ -2561,6 +2572,8 @@ Changes</h2>
25612572
Changes since the 14 February 2024 Candidate Recommendation Snapshot</h3>
25622573

25632574
<ul>
2575+
<li>Defined serialization of 'background-position' in [[#bg-position-serialization]].
2576+
(<a href="https://github.com/w3c/csswg-drafts/issues/2274">Issue 2274</a>)
25642577
<li>Reverted <a href="#bg-color-move">change moving &lt;color> to the front of &lt;final-bg-layer></a>
25652578
in the 'background' shorthand.
25662579
(<a href="https://github.com/w3c/csswg-drafts/issues/8496">Issue 8496</a>)

0 commit comments

Comments
 (0)