From 7e05e5570ffc0ec0012217d5f5c12fa35a1a401b Mon Sep 17 00:00:00 2001
From: Tab Atkins-Bittner CSS.dB()
and CSS.st()
methods.
+
+ spec:vc-data-model-2.0
+
spec:css-sizing; type:property;
@@ -57,9 +60,55 @@ spec:cssom-1;
text: CSS declaration block
text: declarations; for: CSSStyleDeclaration
spec:css-align-3; type:property; text:column-gap
+spec:css-borders-4;
+ type:property;
+ text:border-block;
+ text:border-block-color;
+ text:border-block-end;
+ text:border-block-end-color;
+ text:border-block-end-style;
+ text:border-block-end-width;
+ text:border-block-start;
+ text:border-block-start-color;
+ text:border-block-start-style;
+ text:border-block-start-width;
+ text:border-block-style;
+ text:border-block-width;
+ text:border-bottom;
+ text:border-bottom-color;
+ text:border-bottom-style;
+ text:border-bottom-width;
+ text:border-color;
+ text:border-inline;
+ text:border-inline-color;
+ text:border-inline-end;
+ text:border-inline-end-color;
+ text:border-inline-end-style;
+ text:border-inline-end-style;
+ text:border-inline-end-width;
+ text:border-inline-start;
+ text:border-inline-start-color;
+ text:border-inline-start-style;
+ text:border-inline-start-width;
+ text:border-inline-style;
+ text:border-inline-width;
+ text:border-left;
+ text:border-left-color;
+ text:border-left-style;
+ text:border-left-width;
+ text:border-radius;
+ text:border-right;
+ text:border-right-color;
+ text:border-right-style;
+ text:border-right-width;
+ text:border-top;
+ text:border-top-color;
+ text:border-top-style;
+ text:border-top-width;
spec:css-color-4;
type:property; text:color;
type:value; text:currentcolor;
+ type:function; text:color()
spec:css-overflow-3;
type: property; text: text-overflow;
spec:css-position-3;
@@ -99,6 +148,10 @@ spec:css-transforms-1;
type:property;
text:transform;
text:transform-origin;
+spec:css-typed-om-1;
+ type:dfn; for:CSSNumericValue;
+ text:type
+ text: types
spec:css-ui-4;
type: property; text: pointer-events;
spec:css-values-4;
From 3fde3f524f1aa1d29a591a124f5263f58a4f7eb1 Mon Sep 17 00:00:00 2001
From: Chris Lilley
Title: CSS Typed OM Level 1
-Status: ED
+Status: WD
+Date: 2024-03-21
+Prepare for TR: yes
Group: houdini
ED: https://drafts.css-houdini.org/css-typed-om-1/
TR: https://www.w3.org/TR/css-typed-om-1/
@@ -6255,7 +6257,7 @@ There are no known privacy issues introduced by these features.
Changes {#changes}
==================
-
Changes since the 10
+
Changes since the 10
April 2018 Working Draft
From 76dfce0f68595c6f17f294d32720eab23fdbe947 Mon Sep 17 00:00:00 2001
From: Chris Lilley
Title: CSS Typed OM Level 1
-Status: WD
-Date: 2024-03-21
-Prepare for TR: yes
+Status: ED
+Prepare for TR: no
Group: houdini
ED: https://drafts.css-houdini.org/css-typed-om-1/
TR: https://www.w3.org/TR/css-typed-om-1/
+Previous Version: https://www.w3.org/TR/2024/WD-css-typed-om-1-20240321/
Previous Version: https://www.w3.org/TR/2018/WD-css-typed-om-1-20180410/
Previous Version: https://www.w3.org/TR/2017/WD-css-typed-om-1-20170801/
Previous Version: https://www.w3.org/TR/2016/WD-css-typed-om-1-20160607/
From d29ba86058bcabcce699e02d0084f9b5abb85d7f Mon Sep 17 00:00:00 2001
From: Chris Lilley
+ Changes since the Working Draft of 13 October 2020
+
+
+/* to 20 March 2024 */
+* Made "initial-value" have a <declaration-value>?, same as custom properties. (#9078)
+* Allowed @Property in shadow trees. (#1085)
+* Added section explaining why property registration is global, rather than shadow-scoped.
+* Exported the terms "registered custom property" and "universal syntax definition", for use in other specifications. (#1020)
+* Used the term "invalid at computed-value time" rather than "guaranteed-invalid value".
From d8434a1146155050ddb4656900bae2b1236ee6ce Mon Sep 17 00:00:00 2001
From: Chris Lilley "<percentage>"
values:
the computed value is defined by that function.
For "<color>"
values,
-the value is computed by [=resolving color values=].
+the value is computed by resolving color values,
+per [[css-color-4#resolving-color-values]].
For "<custom-ident>"
, ident, or "*"
values,
the computed value is as specified.
From dd684e120479a18728b7f6e15d01caf90a33ccaa Mon Sep 17 00:00:00 2001
From: Chris Lilley
[Exposed=Window]
interface CSSPropertyRule : CSSRule {
- readonly attribute CSSOMString name;
- readonly attribute CSSOMString syntax;
- readonly attribute boolean inherits;
- readonly attribute CSSOMString? initialValue;
+ readonly attribute CSSOMString name;
+ readonly attribute CSSOMString syntax;
+ readonly attribute boolean inherits;
+ readonly attribute CSSOMString? initialValue;
};
From a47f0038f118a156ea1f6bfdb2cf237cfc05e1dd Mon Sep 17 00:00:00 2001
From: Chris Lilley "<percentage>"
values:
(such as a [=math function=]),
the computed value is defined by that function.
+For "<string>"
values,
+the computed value is as specified.
+
For "<color>"
values,
the value is computed by resolving color values,
per [[css-color-4#resolving-color-values]].
@@ -944,6 +947,8 @@ corresponding types accepted by the resulting syntax component.
: "<length-percentage>"
:: Any valid <
<link href="/style/foo/foo.css" rel="stylesheet" type="text/css">
<link href="/style/bar/bar.css" rel="stylesheet" type="text/css">
- <div style="background-image: var(--url-foo), var(---url-bar);">
+ <div style="background-image: var(--url-foo), var(--url-bar);">
</div>
From e3d47701ed869d4fecb0682b82861452093a64de Mon Sep 17 00:00:00 2001
From: Chris Lilley
Title: CSS Properties and Values API Level 1
-Status: ED
+Status: WD
+Date: 2024-03-26
+Prepare for TR: Yes
Group: houdini
ED: https://drafts.css-houdini.org/css-properties-values-api-1/
TR: https://www.w3.org/TR/css-properties-values-api-1/
@@ -13,10 +15,10 @@ Level: 1
Abstract: This CSS module defines an API for registering new CSS properties. Properties registered using this API are provided with a parse syntax that defines a type, inheritance behaviour, and an initial value.
Editor: Tab Atkins-Bittner, Google, http://xanthir.com/contact/, w3cid 42199
Former Editor: Shane Stephens, shanestephens@google.com, w3cid 47691
-Editor: Daniel Glazman, daniel.glazman@disruptive-innovations.com, w3cid 13329
+Former Editor: Daniel Glazman, daniel.glazman@disruptive-innovations.com, w3cid 13329
Editor: Alan Stearns, stearns@adobe.com, w3cid 46659
Former Editor: Elliot Sprehn, esprehn@chromium.org
-Editor: Greg Whitworth, gwhit@microsoft.com, w3cid 69511
+Editor: Greg Whitworth, gwhitworth@salesforce.com , w3cid 69511
Ignored Terms: boolean, Animatable, Map, Context, isolated worker, SyntaxError,
Ignored Terms: InvalidModificationError, NotFoundError, StylePropertyMapReadOnly,
Ignored Terms: worklet global scope
From 368daf92781536386e78293d59db4b992e4db9e3 Mon Sep 17 00:00:00 2001
From: Chris Lilley
Title: CSS Properties and Values API Level 1
-Status: WD
-Date: 2024-03-26
-Prepare for TR: Yes
+Status: ED
+Prepare for TR: no
Group: houdini
ED: https://drafts.css-houdini.org/css-properties-values-api-1/
TR: https://www.w3.org/TR/css-properties-values-api-1/
From d38422668ecbda29b5d3bdcd076a87a4b05d5aca Mon Sep 17 00:00:00 2001
From: Tab Atkins-Bittner
@@ -352,8 +353,9 @@ is called, the user agent must run the following steps:
5. Let |inputPropertiesIterable| be the result of [=Get=](|layoutCtor|, "inputProperties").
6. If |inputPropertiesIterable| is not undefined, then set |inputProperties| to the result of
- [=converting=] |inputPropertiesIterable| to a
sequence<DOMString>
. If an
- exception is [=thrown=], rethrow the exception and abort all these steps.
+ [=converted to an IDL value|converting=] |inputPropertiesIterable| to a
+ sequence<DOMString>
. If an exception is [=thrown=], rethrow the exception
+ and abort all these steps.
7. Filter |inputProperties| so that it only contains [=supported CSS properties=] and [=custom
properties=].
@@ -373,7 +375,7 @@ is called, the user agent must run the following steps:
"childInputProperties").
10. If |childInputPropertiesIterable| is not undefined, then set |childInputProperties| to the
- result of [=converting=] |childInputPropertiesIterable| to a
+ result of [=converted to an IDL value|converting=] |childInputPropertiesIterable| to a
sequence<DOMString>
. If an exception is [=thrown=], rethrow the exception
and abort all these steps.
@@ -382,9 +384,9 @@ is called, the user agent must run the following steps:
12. Let |layoutOptionsValue| be the result of [=Get=](|layoutCtor|, "layoutOptions").
- 13. Let |layoutOptions| be the result of [=converting=] |layoutOptionsValue| to a
- {{LayoutOptions}}. If an exception is [=thrown=], rethrow the exception and abort all these
- steps.
+ 13. Let |layoutOptions| be the result of [=converted to an IDL value|converting=]
+ |layoutOptionsValue| to a {{LayoutOptions}}. If an exception is [=thrown=], rethrow the
+ exception and abort all these steps.
14. Let |prototype| be the result of [=Get=](|layoutCtor|, "prototype").
@@ -393,13 +395,14 @@ is called, the user agent must run the following steps:
16. Let |intrinsicSizesValue| be the result of [=Get=](|prototype|, "intrinsicSizes").
- 17. Let |intrinsicSizes| be the result of [=converting=] |intrinsicSizesValue| to the
- [=Function=] [=callback function=] type. Rethrow any exceptions from the conversion.
+ 17. Let |intrinsicSizes| be the result of [=converted to an IDL value|converting=]
+ |intrinsicSizesValue| to the {{Function}} [=callback function=] type. Rethrow any
+ exceptions from the conversion.
18. Let |layoutValue| be the result of [=Get=](|prototype|, "layout"
).
- 19. Let |layout| be the result of [=converting=] |layoutValue| to the [=Function=] [=callback
- function=] type. Rethrow any exceptions from the conversion.
+ 19. Let |layout| be the result of [=converted to an IDL value|converting=] |layoutValue| to
+ the {{Function}} [=callback function=] type. Rethrow any exceptions from the conversion.
20. Let |definition| be a new [=layout definition=] with:
@@ -1827,8 +1830,9 @@ When the user agent wants to invoke an intrinsic sizes callback given
10. Let |intrinsicSizesFunction| be |definition|'s [=intrinsic sizes function=].
- 11. Let |value| be the result of [=Invoke=](|intrinsicSizesFunction|, |layoutInstance|,
- «|children|, |edges|, |styleMap|»).
+ 11. Let |value| be the result of [=invoking=] |intrinsicSizesFunction| with « |children|,
+ |edges|, |styleMap| » and "`rethrow`", and with |layoutInstance| as the [=callback this
+ value=].
If an exception is [=thrown=] the let |box| fallback to the [=flow layout=] and abort all
these steps.
@@ -1847,9 +1851,9 @@ When the user agent wants to invoke an intrinsic sizes callback given
1. Let |intrinsicSizesValue| be |value|.
- 13. Let |intrinsicSizes| be the result of [=converting=] |intrinsicSizesValue| to a
- {{IntrinsicSizesResultOptions}}. If an exception is [=thrown=], let |box| fallback to the
- [=flow layout=] and abort all these steps.
+ 13. Let |intrinsicSizes| be the result of [=converted to an IDL value|converting=]
+ |intrinsicSizesValue| to a {{IntrinsicSizesResultOptions}}. If an exception is [=thrown=],
+ let |box| fallback to the [=flow layout=] and abort all these steps.
14. Set the [=intrinsic sizes=] of |box|:
@@ -1950,8 +1954,9 @@ following steps:
13. Let |layoutFunction| be |definition|'s [=layout function=].
- 14. Let |value| be the result of [=Invoke=](|layoutFunction|, |layoutInstance|, «|children|,
- |edges|, |layoutConstraints|, |styleMap|, |breakToken|»).
+ 14. Let |value| be the result of [=invoking =] |layoutFunction| with « |children|, |edges|,
+ |layoutConstraints|, |styleMap|, |breakToken| », and with |layoutInstance| as the [=callback
+ this value=].
If an exception is [=thrown=] the let |box| fallback to the [=flow layout=] and abort all
these steps.
@@ -1969,20 +1974,20 @@ following steps:
1. Let |fragmentResultValue| be |value|.
- 16. If |fragmentResultValue| is a [=platform object=]:
+ 16. If |fragmentResultValue| [=is a platform object=]:
- Then:
- 1. Let |fragmentResult| be the result [=converting=] |fragmentResultValue| to a
- {{FragmentResult}}.
+ 1. Let |fragmentResult| be the result [=converted to an IDL value|converting=]
+ |fragmentResultValue| to a {{FragmentResult}}.
If an exception is [=thrown=], let |box| fallback to the [=flow layout=] and abort all
these steps.
- Otherwise:
- 1. Let |fragmentResultOptions| be the result of [=converting=] |fragmentResultValue| to
- a {{FragmentResultOptions}}.
+ 1. Let |fragmentResultOptions| be the result of [=converted to an IDL value|converting=]
+ |fragmentResultValue| to a {{FragmentResultOptions}}.
If an exception is [=thrown=], let |box| fallback to the [=flow layout=] and abort
all these steps.
diff --git a/css-paint-api/Overview.bs b/css-paint-api/Overview.bs
index 86f48645..833f4a1f 100644
--- a/css-paint-api/Overview.bs
+++ b/css-paint-api/Overview.bs
@@ -307,10 +307,10 @@ The <
- <style>
+ <style>
.logo { background-image: paint(company-logo); }
.chat-bubble { background-image: paint(chat-bubble, blue); }
- </style>
+ </style>
<
.
If this fails,
throw a {{SyntaxError}}
and exit this algorithm.
From 3d51716987994673b9f24fbe5fa3bf94e0447781 Mon Sep 17 00:00:00 2001
From: Tab Atkins-Bittner