Skip to content

Commit efbcf55

Browse files
authored
[css-backgrounds-4] 'border-area' value in 'background' shorthand sets 'background-origin' to 'border-box' (#13042)
1 parent e9cb4a0 commit efbcf55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-backgrounds-4/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,9 @@ Backgrounds Shorthand: the 'background' property</h3>
17411741

17421742
If one <<visual-box>> value is present
17431743
then it sets both 'background-origin' and 'background-clip' to that value.
1744+
However, there is one exception:
1745+
if the value is ''background-clip/border-area'',
1746+
it is set for 'background-clip', while 'background-origin' is set to ''background-origin/border-box''.
17441747
If two values are present,
17451748
then the first sets 'background-origin' and the second 'background-clip'.
17461749

0 commit comments

Comments
 (0)