Skip to content

Commit 1968548

Browse files
Stage 1 reconsideration (#78)
* Updating settings * Updating dependencies * Finishing changelog * Updating dependencies * Removing unneeded pipe * Adding more features to PostCSS Preset Env
1 parent 133f4df commit 1968548

File tree

8 files changed

+4176
-6244
lines changed

8 files changed

+4176
-6244
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changes to cssdb
22

3+
### 6.1.0 (Unreleased)
4+
5+
- `blank-pseudo-class` is now Stage 2 and has links to an official spec! 🎉 (minor)
6+
- `clamp` is now Stage 2 and has links to an official spec! 🎉 (minor)
7+
- `color-contrast` is now Stage 2 and has links to an official spec! 🎉 (minor)
8+
- `color-functional-notation` is now Stage 2 and has links to an official spec! 🎉 (minor)
9+
- `custom-media-queries` is now Stage 2 and has links to an official spec! 🎉 (minor)
10+
- `display-two-values` is now Stage 2 and has links to an official spec! 🎉 (minor)
11+
- `display-two-values` is now Stage 2 and has links to an official spec! 🎉 (minor)
12+
- `opacity-percentage` is now Stage 2 and has links to an official spec! 🎉 (minor)
13+
- `prefers-color-scheme-query` is now Stage 2 and has links to an official spec! 🎉 (minor)
14+
- `prefers-reduced-motion-query` is now Stage 2 and has links to an official spec! 🎉 (minor)
15+
- `where-pseudo-class` is now Stage 2 and has links to an official spec! 🎉 (minor)
16+
- `container-queries` has official Working Draft linked (instead of Editor's Draft).
17+
- `nesting-rules` has official Working Draft linked (instead of Editor's Draft).
18+
- `overscroll-behavior-property` has official Working Draft linked (instead of Editor's Draft).
19+
- Updated `@mdn/browser-compat-data` to `4.1.5` (patch)
20+
- Updated `@astropub/webapi` to `0.10.11` (patch)
21+
- Updated `astro` to `0.22.20` (patch)
22+
- Updated `caniuse-lite` to `1.0.30001304` (patch)
23+
- Updated `stylelint` to `14.3.0` (minor)
24+
325
### 6.0.2 (January 21, 2022)
426

527
- Updated mechanism to calculate browser versions to be more reliable. This also introduces the option through `allow_partial_implementation` if we want to allow something such as Autoprefixer to take care with prefixing a given feature such as `:any-link`.

STAGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ to a particular way of solving a problem.
5858
> “This idea is becoming part of the web.”
5959
6060
A **Candidate Recommendation** [championed] by a [W3C Working Group], usually
61-
implemented by at least 2 [recognized browser vendors], possibly behind a flag. |
61+
implemented by at least 2 [recognized browser vendors], possibly behind a flag.
6262
It should be considered stable and subject to little change. Stage 3 features
6363
will likely become a standard.
6464

cssdb.json

+23-23
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"id": "blank-pseudo-class",
6868
"title": "`:blank` Empty-Value Pseudo-Class",
6969
"description": "A pseudo-class for matching form elements when they are empty",
70-
"specification": "https://drafts.csswg.org/selectors-4/#blank",
71-
"stage": 1,
70+
"specification": "https://www.w3.org/TR/selectors-4/#blank",
71+
"stage": 2,
7272
"browser_support": {},
7373
"docs": {
7474
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/:blank"
@@ -151,8 +151,8 @@
151151
"id": "clamp",
152152
"title": "`clamp` Function",
153153
"description": "The clamp() CSS function clamps a value between an upper and lower bound. It enables selecting a middle value within a range of values between a defined minimum and maximum.",
154-
"specification": "https://drafts.csswg.org/css-values/#calc-notation",
155-
"stage": 1,
154+
"specification": "https://www.w3.org/TR/css-values-4/#funcdef-clamp",
155+
"stage": 2,
156156
"browser_support": {
157157
"chrome": "79",
158158
"and_chr": "79",
@@ -191,8 +191,8 @@
191191
"id": "color-contrast",
192192
"title": "`color-contrast()` Function",
193193
"description": "A function for choosing the color that contrasts the most.",
194-
"specification": "https://drafts.csswg.org/css-color-5/#funcdef-color-contrast",
195-
"stage": 1,
194+
"specification": "https://www.w3.org/TR/css-color-5/#colorcontrast",
195+
"stage": 2,
196196
"browser_support": {
197197
"safari": "15",
198198
"ios_saf": "15"
@@ -207,8 +207,8 @@
207207
"id": "color-functional-notation",
208208
"title": "Color Functional Notation",
209209
"description": "A space and slash separated notation for specifying colors",
210-
"specification": "https://drafts.csswg.org/css-color/#ref-for-funcdef-rgb%E2%91%A1%E2%91%A0",
211-
"stage": 1,
210+
"specification": "https://www.w3.org/TR/css-color-4/#funcdef-rgb",
211+
"stage": 2,
212212
"browser_support": {
213213
"chrome": "65",
214214
"and_chr": "65",
@@ -259,7 +259,7 @@
259259
"id": "container-queries",
260260
"title": "Container Queries",
261261
"description": "New container property and container at rule to make changes depending on the container's size",
262-
"specification": "https://drafts.csswg.org/css-contain-3/#container-queries",
262+
"specification": "https://www.w3.org/TR/css-contain-3/#container-queries",
263263
"stage": 0,
264264
"browser_support": {},
265265
"docs": {
@@ -281,8 +281,8 @@
281281
"id": "custom-media-queries",
282282
"title": "Custom Media Queries",
283283
"description": "An at-rule for defining aliases that represent media queries",
284-
"specification": "https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media",
285-
"stage": 1,
284+
"specification": "https://www.w3.org/TR/mediaqueries-5/#at-ruledef-custom-media",
285+
"stage": 2,
286286
"browser_support": {},
287287
"polyfills": [
288288
{
@@ -379,8 +379,8 @@
379379
"id": "display-two-values",
380380
"title": "Two values syntax for `display`",
381381
"description": "Syntax that allows definition of outer and inner displays types for an element",
382-
"specification": "https://drafts.csswg.org/css-display/#the-display-properties",
383-
"stage": 1,
382+
"specification": "https://www.w3.org/TR/css-display-3/#the-display-properties",
383+
"stage": 2,
384384
"browser_support": {
385385
"firefox": "70"
386386
},
@@ -945,7 +945,7 @@
945945
"id": "nesting-rules",
946946
"title": "Nesting Rules",
947947
"description": "A syntax for nesting relative rules within rules",
948-
"specification": "https://drafts.csswg.org/css-nesting-1/",
948+
"specification": "https://www.w3.org/TR/css-nesting-1/",
949949
"stage": 1,
950950
"browser_support": {},
951951
"polyfills": [
@@ -990,8 +990,8 @@
990990
"id": "opacity-percentage",
991991
"title": "Support for percentages for `opacity`",
992992
"description": "Syntactic sugar to use percentages instead of a float between 0 and 1.",
993-
"specification": "https://drafts.csswg.org/css-color/#transparency",
994-
"stage": 1,
993+
"specification": "https://www.w3.org/TR/css-color-4/#transparency",
994+
"stage": 2,
995995
"browser_support": {
996996
"chrome": "78",
997997
"and_chr": "78",
@@ -1071,7 +1071,7 @@
10711071
"id": "overscroll-behavior-property",
10721072
"title": "`overscroll-behavior` Property",
10731073
"description": "Properties for controlling when the scroll position of a scroll container reaches the edge of a scrollport",
1074-
"specification": "https://drafts.csswg.org/css-overscroll-behavior",
1074+
"specification": "https://www.w3.org/TR/css-overscroll-1/",
10751075
"stage": 1,
10761076
"browser_support": {
10771077
"edge": "79",
@@ -1124,8 +1124,8 @@
11241124
"id": "prefers-color-scheme-query",
11251125
"title": "`prefers-color-scheme` Media Query",
11261126
"description": "A media query to detect if the user has requested the system use a light or dark color theme",
1127-
"specification": "https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme",
1128-
"stage": 1,
1127+
"specification": "https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme",
1128+
"stage": 2,
11291129
"browser_support": {
11301130
"edge": "79",
11311131
"firefox": "67",
@@ -1158,8 +1158,8 @@
11581158
"id": "prefers-reduced-motion-query",
11591159
"title": "`prefers-reduced-motion` Media Query",
11601160
"description": "A media query to detect if the user has requested less animation and general motion on the page",
1161-
"specification": "https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion",
1162-
"stage": 1,
1161+
"specification": "https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-motion",
1162+
"stage": 2,
11631163
"browser_support": {
11641164
"edge": "79",
11651165
"firefox": "63",
@@ -1285,8 +1285,8 @@
12851285
"id": "where-pseudo-class",
12861286
"title": "`:where()` Zero-Specificity Pseudo-Class",
12871287
"description": "A pseudo-class for matching elements in a selector list without contributing specificity",
1288-
"specification": "https://drafts.csswg.org/selectors-4/#where-pseudo",
1289-
"stage": 1,
1288+
"specification": "https://www.w3.org/TR/selectors-4/#where-pseudo",
1289+
"stage": 2,
12901290
"browser_support": {
12911291
"chrome": "88",
12921292
"and_chr": "88",

cssdb.mjs

+23-23
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export default [
6767
"id": "blank-pseudo-class",
6868
"title": "`:blank` Empty-Value Pseudo-Class",
6969
"description": "A pseudo-class for matching form elements when they are empty",
70-
"specification": "https://drafts.csswg.org/selectors-4/#blank",
71-
"stage": 1,
70+
"specification": "https://www.w3.org/TR/selectors-4/#blank",
71+
"stage": 2,
7272
"browser_support": {},
7373
"docs": {
7474
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/:blank"
@@ -151,8 +151,8 @@ export default [
151151
"id": "clamp",
152152
"title": "`clamp` Function",
153153
"description": "The clamp() CSS function clamps a value between an upper and lower bound. It enables selecting a middle value within a range of values between a defined minimum and maximum.",
154-
"specification": "https://drafts.csswg.org/css-values/#calc-notation",
155-
"stage": 1,
154+
"specification": "https://www.w3.org/TR/css-values-4/#funcdef-clamp",
155+
"stage": 2,
156156
"browser_support": {
157157
"chrome": "79",
158158
"and_chr": "79",
@@ -191,8 +191,8 @@ export default [
191191
"id": "color-contrast",
192192
"title": "`color-contrast()` Function",
193193
"description": "A function for choosing the color that contrasts the most.",
194-
"specification": "https://drafts.csswg.org/css-color-5/#funcdef-color-contrast",
195-
"stage": 1,
194+
"specification": "https://www.w3.org/TR/css-color-5/#colorcontrast",
195+
"stage": 2,
196196
"browser_support": {
197197
"safari": "15",
198198
"ios_saf": "15"
@@ -207,8 +207,8 @@ export default [
207207
"id": "color-functional-notation",
208208
"title": "Color Functional Notation",
209209
"description": "A space and slash separated notation for specifying colors",
210-
"specification": "https://drafts.csswg.org/css-color/#ref-for-funcdef-rgb%E2%91%A1%E2%91%A0",
211-
"stage": 1,
210+
"specification": "https://www.w3.org/TR/css-color-4/#funcdef-rgb",
211+
"stage": 2,
212212
"browser_support": {
213213
"chrome": "65",
214214
"and_chr": "65",
@@ -259,7 +259,7 @@ export default [
259259
"id": "container-queries",
260260
"title": "Container Queries",
261261
"description": "New container property and container at rule to make changes depending on the container's size",
262-
"specification": "https://drafts.csswg.org/css-contain-3/#container-queries",
262+
"specification": "https://www.w3.org/TR/css-contain-3/#container-queries",
263263
"stage": 0,
264264
"browser_support": {},
265265
"docs": {
@@ -281,8 +281,8 @@ export default [
281281
"id": "custom-media-queries",
282282
"title": "Custom Media Queries",
283283
"description": "An at-rule for defining aliases that represent media queries",
284-
"specification": "https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media",
285-
"stage": 1,
284+
"specification": "https://www.w3.org/TR/mediaqueries-5/#at-ruledef-custom-media",
285+
"stage": 2,
286286
"browser_support": {},
287287
"polyfills": [
288288
{
@@ -379,8 +379,8 @@ export default [
379379
"id": "display-two-values",
380380
"title": "Two values syntax for `display`",
381381
"description": "Syntax that allows definition of outer and inner displays types for an element",
382-
"specification": "https://drafts.csswg.org/css-display/#the-display-properties",
383-
"stage": 1,
382+
"specification": "https://www.w3.org/TR/css-display-3/#the-display-properties",
383+
"stage": 2,
384384
"browser_support": {
385385
"firefox": "70"
386386
},
@@ -945,7 +945,7 @@ export default [
945945
"id": "nesting-rules",
946946
"title": "Nesting Rules",
947947
"description": "A syntax for nesting relative rules within rules",
948-
"specification": "https://drafts.csswg.org/css-nesting-1/",
948+
"specification": "https://www.w3.org/TR/css-nesting-1/",
949949
"stage": 1,
950950
"browser_support": {},
951951
"polyfills": [
@@ -990,8 +990,8 @@ export default [
990990
"id": "opacity-percentage",
991991
"title": "Support for percentages for `opacity`",
992992
"description": "Syntactic sugar to use percentages instead of a float between 0 and 1.",
993-
"specification": "https://drafts.csswg.org/css-color/#transparency",
994-
"stage": 1,
993+
"specification": "https://www.w3.org/TR/css-color-4/#transparency",
994+
"stage": 2,
995995
"browser_support": {
996996
"chrome": "78",
997997
"and_chr": "78",
@@ -1071,7 +1071,7 @@ export default [
10711071
"id": "overscroll-behavior-property",
10721072
"title": "`overscroll-behavior` Property",
10731073
"description": "Properties for controlling when the scroll position of a scroll container reaches the edge of a scrollport",
1074-
"specification": "https://drafts.csswg.org/css-overscroll-behavior",
1074+
"specification": "https://www.w3.org/TR/css-overscroll-1/",
10751075
"stage": 1,
10761076
"browser_support": {
10771077
"edge": "79",
@@ -1124,8 +1124,8 @@ export default [
11241124
"id": "prefers-color-scheme-query",
11251125
"title": "`prefers-color-scheme` Media Query",
11261126
"description": "A media query to detect if the user has requested the system use a light or dark color theme",
1127-
"specification": "https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme",
1128-
"stage": 1,
1127+
"specification": "https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme",
1128+
"stage": 2,
11291129
"browser_support": {
11301130
"edge": "79",
11311131
"firefox": "67",
@@ -1158,8 +1158,8 @@ export default [
11581158
"id": "prefers-reduced-motion-query",
11591159
"title": "`prefers-reduced-motion` Media Query",
11601160
"description": "A media query to detect if the user has requested less animation and general motion on the page",
1161-
"specification": "https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion",
1162-
"stage": 1,
1161+
"specification": "https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-motion",
1162+
"stage": 2,
11631163
"browser_support": {
11641164
"edge": "79",
11651165
"firefox": "63",
@@ -1285,8 +1285,8 @@ export default [
12851285
"id": "where-pseudo-class",
12861286
"title": "`:where()` Zero-Specificity Pseudo-Class",
12871287
"description": "A pseudo-class for matching elements in a selector list without contributing specificity",
1288-
"specification": "https://drafts.csswg.org/selectors-4/#where-pseudo",
1289-
"stage": 1,
1288+
"specification": "https://www.w3.org/TR/selectors-4/#where-pseudo",
1289+
"stage": 2,
12901290
"browser_support": {
12911291
"chrome": "88",
12921292
"and_chr": "88",

0 commit comments

Comments
 (0)