From e54461cfbbb52362a47ce8e2f34328ae5b1b1d0f Mon Sep 17 00:00:00 2001 From: Stefan Zager Date: Thu, 18 Jan 2024 16:52:06 -0800 Subject: [PATCH] Specify ink overflow extent for box-shadow Issue #8649 --- css-backgrounds-3/Overview.bs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/css-backgrounds-3/Overview.bs b/css-backgrounds-3/Overview.bs index 5e6205f325cb..ea3dcc52f1d6 100644 --- a/css-backgrounds-3/Overview.bs +++ b/css-backgrounds-3/Overview.bs @@ -31,6 +31,7 @@ spec:css2; type:value; text:visible spec:css-break-4; type:dfn; text:fragment spec:css-color-4; type:property; text:color spec:css-color-4; type:value; text:transparent +spec:css-overflow-3; type:dfn; text:ink overflow area spec:selectors-3; type:selector; text: ::first-letter spec:selectors-3; type:selector; text: ::first-line spec:css-values-3; type:type; text: @@ -2095,7 +2096,8 @@ they apply to the top, right, bottom, and left, respectively.

Portions of the border-image that are rendered outside the border box do not trigger scrolling. Also such portions are invisible to mouse -events and do not capture such events on behalf of the element.

+events and do not capture such events on behalf of the element, but +they are included in the [=ink overflow area=] of the element.

Note that, even though they never cause a scrolling mechanism, outset images may still be clipped by an ancestor or by the @@ -2352,6 +2354,14 @@ Animation type: by computed value,

+

If the ''box-shadow/inset'' keyword is not present, + the [=ink overflow area=] of a box shadow is defined by the + extent of the [=box-shadow/horizontal offset=], [=box-shadow/vertical offset=], + and [=box-shadow/spread distance=] values beyond the element's border-box, + plus the ink overflow contributed by the [=box-shadow/blur radius=] + as described for the + blur() filter function.

+

Shadow Shape, Spread, and Knockout