Skip to content

Commit eca3884

Browse files
committed
[css-backgrounds] Initial background-position-x/y
In CSS Backgrounds and Borders Level 3, the initial value of background-position is '0% 0%'. In Level 4, the initial value of background-position-x and background-position-y is '0%' and '0%', not 'left' and 'left'.
1 parent 03407f8 commit eca3884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-backgrounds-4/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
8282
<pre class="propdef">
8383
Name: background-position-x
8484
Value: [ center | [ left | right | x-start | x-end ]? <<length-percentage>>? ]#
85-
Initial: left
85+
Initial: 0%
8686
Inherited: no
8787
Percentages: refer to width of background positioning area <em>minus</em> width of background image
8888
Computed value: A list, each item consisting of: an offset given as a combination of an absolute length and a percentage, plus an origin keyword
@@ -94,7 +94,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
9494
<pre class="propdef">
9595
Name: background-position-y
9696
Value: [ center | [ top | bottom | y-start | y-end ]? <<length-percentage>>? ]#
97-
Initial: left
97+
Initial: 0%
9898
Inherited: no
9999
Percentages: refer to height of background positioning area <em>minus</em> height of background image
100100
Computed value: A list, each item consisting of: an offset given as a combination of an absolute length and a percentage, plus an origin keyword

0 commit comments

Comments
 (0)