From 4ff5a15c2cb5e312bceffdbc5cc863a78792580a Mon Sep 17 00:00:00 2001 From: Daniil Sakhapov Date: Thu, 26 Mar 2026 16:16:22 +0100 Subject: [PATCH] [css-borders-4] Update box-shadow interaction with border-shape --- css-borders-4/Overview.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-borders-4/Overview.bs b/css-borders-4/Overview.bs index ed020479c657..502d9ddb0803 100644 --- a/css-borders-4/Overview.bs +++ b/css-borders-4/Overview.bs @@ -3347,10 +3347,10 @@ Interaction with 'border-radius' and 'corner-shape'

Interaction with 'box-shadow'

- An [=outer box-shadow=] follows the outside of the outer path, - and an [=inner box-shadow=] follows the inside of the inner path. - Both are rendered as a stroke, with a stroke width of spread * 2, - clipped by the border shape. + An [=outer box-shadow=] is cast as if the shape defined by the outer path were opaque. + An [=inner box-shadow=] is cast as if everything outside the shape defined by the inner path were opaque. + For both inner and outer shadows, the shadow shape is expanded or contracted by the spread distance, + blurred by the blur radius, and then clipped by the 'border-shape', adhering to the standard 'box-shadow' painting rules.