Skip to content

Commit d17042a

Browse files
committed
[css-backgrounds] list entries not empty
The entries in background-position-x and background-position-y may not be empty. We use the exclamation point (!) modifier to indicate that a keyword or length-percentage (or both) must be present, they cannot both be omitted.
1 parent b7cb483 commit d17042a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

css-backgrounds-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Ignored Terms:
1515
Warning: Not Ready
1616
</pre>
1717

18+
<pre class="link-defaults">
19+
spec:css-text-4; type:value; text:collapse
20+
</pre>
21+
1822
<h2 id="intro">
1923
Introduction</h2>
2024

@@ -81,7 +85,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
8185

8286
<pre class="propdef">
8387
Name: background-position-x
84-
Value: [ center | [ left | right | x-start | x-end ]? <<length-percentage>>? ]#
88+
Value: [ center | [ [ left | right | x-start | x-end ]? <<length-percentage>>? ]! ]#
8589
Initial: 0%
8690
Inherited: no
8791
Percentages: refer to width of background positioning area <em>minus</em> width of background image
@@ -93,7 +97,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
9397

9498
<pre class="propdef">
9599
Name: background-position-y
96-
Value: [ center | [ top | bottom | y-start | y-end ]? <<length-percentage>>? ]#
100+
Value: [ center | [ [ top | bottom | y-start | y-end ]? <<length-percentage>>? ]! ]#
97101
Initial: 0%
98102
Inherited: no
99103
Percentages: refer to height of background positioning area <em>minus</em> height of background image

0 commit comments

Comments
 (0)