Skip to content

Commit 82e2238

Browse files
committed
[css-backgrounds-3][css-borders-4] Fixed definition for where box shadows apply
1 parent 60a1023 commit 82e2238

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:css2; type:value; text:inline-table
2828
spec:css2; type:value; text:table-cell
2929
spec:css2; type:property; text:overflow
3030
spec:css2; type:value; text:visible
31+
spec:css-break-4; type:dfn; text:fragment
3132
spec:css-color-3; type:property; text:color
3233
spec:css-color-3; type:value; text:transparent
3334
spec:selectors-3; type:selector; text: ::first-letter
@@ -2504,7 +2505,8 @@ Layering, Layout, and Other Details</h4>
25042505
and the <i>inner shadows</i> of an element are drawn immediately above the background of that element
25052506
(below the borders and border image, if any).
25062507

2507-
<p>If an element has multiple boxes, all of them get drop shadows,
2508+
<p>Drop shadows are only applied to the [=principal box=].
2509+
If that box has multiple [=fragments=], then all of them get shadows,
25082510
but shadows are only drawn where borders would also be drawn;
25092511
see 'box-decoration-break'.
25102512

@@ -2599,6 +2601,8 @@ Changes since the 14 February 2024 Candidate Recommendation Snapshot</h3>
25992601
(<a href="https://github.com/w3c/csswg-drafts/issues/8496">Issue 8496</a>)
26002602
<li>Fixed an error in the Computed Value line of 'background-image'.
26012603
(<a href="https://github.com/w3c/csswg-drafts/issues/8604">Issue 8604</a>)
2604+
<li>Fixed the definition for where box shadows apply.
2605+
(<a href="https://github.com/w3c/csswg-drafts/issues/9286">Issue 9286</a>)
26022606
</ul>
26032607

26042608

css-borders-4/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@ Layering, Layout, and Other Details</h4>
791791
and the <i>inner shadows</i> of an element are drawn immediately above the background of that element
792792
(below the borders and border image, if any).
793793

794-
<p>If an element has multiple boxes, all of them get drop shadows,
794+
<p>Drop shadows are only applied to the [=principal box=].
795+
If that box has multiple [=fragments=], then all of them get shadows,
795796
but shadows are only drawn where borders would also be drawn;
796797
see 'box-decoration-break'.
797798

0 commit comments

Comments
 (0)