-
Notifications
You must be signed in to change notification settings - Fork 72
/
css-view-transitions.json
76 lines (76 loc) · 4.25 KB
/
css-view-transitions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"spec": {
"title": "CSS View Transitions Module Level 1",
"url": "https://drafts.csswg.org/css-view-transitions-1/"
},
"properties": [
{
"name": "view-transition-name",
"href": "https://drafts.csswg.org/css-view-transitions-1/#propdef-view-transition-name",
"value": "none | <custom-ident>",
"initial": "none",
"appliesTo": "all elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "as specified",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "none",
"prose": "The element will not participate independently in a view transition.",
"href": "https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-none",
"type": "value",
"value": "none"
},
{
"name": "<custom-ident>",
"prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. Each view transition name is a tree-scoped name. The values none and auto are excluded from <custom-ident> here.",
"href": "https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-custom-ident",
"type": "value",
"value": "<custom-ident>"
}
],
"styleDeclaration": [
"view-transition-name",
"viewTransitionName"
]
}
],
"atrules": [],
"selectors": [
{
"name": "::view-transition",
"prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element, and its containing block is the snapshot containing block.",
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition"
},
{
"name": "::view-transition-group()",
"prose": "The ::view-transition-group() pseudo-element is a named view transition pseudo-element that represents a matching named view transition capture. A ::view-transition-group() pseudo-element is generated for each view transition name as a child of the ::view-transition pseudo-element, and contains a corresponding ::view-transition-image-pair().",
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-group"
},
{
"name": "::view-transition-image-pair()",
"prose": "The ::view-transition-image-pair() pseudo-element is a named view transition pseudo-element that represents a pair of corresponding old/new view transition captures. This pseudo-element is a child of the corresponding ::view-transition-group() pseudo-element and contains a corresponding ::view-transition-old() pseudo-element and/or a corresponding ::view-transition-new() pseudo-element (in that order).",
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-image-pair"
},
{
"name": "::view-transition-old()",
"prose": "The ::view-transition-old() pseudo-element is an empty named view transition pseudo-element that represents a visual snapshot of the “old” state as a replaced element; it is omitted if there’s no “old” state to represent. Each ::view-transition-old() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-old"
},
{
"name": "::view-transition-new()",
"prose": "The ::view-transition-new() pseudo-element (like the analogous ::view-transition-old() pseudo-element) is an empty named view transition pseudo-element that represents a visual snapshot of the “new” state as a replaced element; it is omitted if there’s no “new” state to represent. Each ::view-transition-new() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-new"
}
],
"values": [
{
"name": "<pt-name-selector>",
"href": "https://drafts.csswg.org/css-view-transitions-1/#typedef-pt-name-selector",
"type": "type",
"value": "'*' | <custom-ident>"
}
]
}