@webref/css 4.0.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css-color.json CHANGED
@@ -45,13 +45,15 @@
45
45
  "value": "<number> | <angle> | none"
46
46
  },
47
47
  "<rgb()>": {
48
- "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? )"
48
+ "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? )",
49
+ "legacyValue": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"
49
50
  },
50
51
  "<alpha-value>": {
51
52
  "value": "<number> | <percentage>"
52
53
  },
53
54
  "<hsl()>": {
54
- "value": "hsl( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
55
+ "value": "hsl( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
56
+ "legacyValue": "hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"
55
57
  },
56
58
  "<hwb()>": {
57
59
  "value": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
package/css-flexbox.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-flexbox-1/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "flex | inline-flex",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "flex-direction": {
15
8
  "name": "flex-direction",
16
9
  "value": "row | row-reverse | column | column-reverse",
package/css-grid.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-grid-2/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "grid | inline-grid",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "grid-template-columns": {
15
8
  "name": "grid-template-columns",
16
9
  "value": "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",
package/css-logical.json CHANGED
@@ -4,40 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-logical-1/"
5
5
  },
6
6
  "properties": {
7
- "caption-side": {
8
- "name": "caption-side",
9
- "newValues": "inline-start | inline-end",
10
- "computedValue": "specified keyword",
11
- "styleDeclaration": [
12
- "caption-side",
13
- "captionSide"
14
- ]
15
- },
16
- "float": {
17
- "name": "float",
18
- "newValues": "inline-start | inline-end",
19
- "computedValue": "specified keyword",
20
- "styleDeclaration": [
21
- "float"
22
- ]
23
- },
24
- "clear": {
25
- "name": "clear",
26
- "newValues": "inline-start | inline-end",
27
- "computedValue": "specified keyword",
28
- "styleDeclaration": [
29
- "clear"
30
- ]
31
- },
32
- "text-align": {
33
- "name": "text-align",
34
- "newValues": "start | end",
35
- "computedValue": "specified keyword",
36
- "styleDeclaration": [
37
- "text-align",
38
- "textAlign"
39
- ]
40
- },
41
7
  "block-size": {
42
8
  "name": "block-size",
43
9
  "value": "<'width'>",
package/css-ruby.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-ruby-1/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "ruby-position": {
15
8
  "name": "ruby-position",
16
9
  "value": "[ alternate || [ over | under ] ] | inter-character",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "4.0.1",
4
+ "version": "4.2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -1,22 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "Non-element Selectors Module Level 1",
4
- "url": "https://drafts.csswg.org/selectors-nonelement/"
5
- },
6
- "properties": {},
7
- "descriptors": {},
8
- "valuespaces": {
9
- "<::attr()>": {
10
- "value": "::attr( <namespace-attr>? )"
11
- },
12
- "<namespace-attr>": {
13
- "value": "[ <na-prefix>? '|' ]? <na-name>"
14
- },
15
- "<na-prefix>": {
16
- "value": "<ident> | '*'"
17
- },
18
- "<na-name>": {
19
- "value": "<ident> | '*'"
20
- }
21
- }
22
- }