From 728fe436d4f210186d62eeadf98fe274c7b77bfa Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Mon, 3 Nov 2025 01:02:08 +0100 Subject: [PATCH] [css-masking-1] Defined serialization of 'mask-size' --- css-masking-1/Overview.bs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/css-masking-1/Overview.bs b/css-masking-1/Overview.bs index b4c82b42..7a757a61 100644 --- a/css-masking-1/Overview.bs +++ b/css-masking-1/Overview.bs @@ -760,6 +760,13 @@ See 'background-size' property [[!CSS3BG]] for the definitions of the property v See the section “Layering multiple mask layer images” for how 'mask-size' interacts with other comma-separated mask properties to form each mask layer. +

+Serialization of 'mask-size' values

+ + The [=specified value=] and [=computed value=] of the <> type + always serialize as two values, even when the second value is ''mask-size/auto'', + due to the [[cssom#serializing-css-values|shortest, most backwards-compatible serialization principle]]. + ## Compositing mask layers: the 'mask-composite' property ## {#the-mask-composite} @@ -1493,6 +1500,7 @@ The following changes were made since the Issue 7802) * Editorial changes. The following changes were made since the 22 May 2014 Working Draft.