Skip to content

Commit fc77610

Browse files
committed
Roll protocol to r1648091
1 parent 8ac781c commit fc77610

6 files changed

Lines changed: 117 additions & 26 deletions

File tree

changelog.md

Lines changed: 34 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11

22

3+
## Roll protocol to r1648091 — _2026-06-17T06:06:09.000Z_
4+
###### Diff: [`8ac781c...fec78bf`](https://github.com/ChromeDevTools/devtools-protocol/compare/8ac781c...fec78bf)
5+
6+
```diff
7+
@@ domains/CSS.pdl:82 @@ experimental domain CSS
8+
# Specificity of the selector.
9+
experimental optional Specificity specificity
10+
11+
+ # Contribution of an individual simple selector to specificity.
12+
+ experimental type SpecificityComponent extends object
13+
+ properties
14+
+ # The simple selector text that contributes to specificity.
15+
+ string text
16+
+ # The a component contribution.
17+
+ integer a
18+
+ # The b component contribution.
19+
+ integer b
20+
+ # The c component contribution.
21+
+ integer c
22+
+
23+
# Specificity:
24+
# https://drafts.csswg.org/selectors/#specificity-rules
25+
experimental type Specificity extends object
26+
@@ -93,6 +105,8 @@ experimental domain CSS
27+
integer b
28+
# The c component, which represents the number of type selectors and pseudo-elements.
29+
integer c
30+
+ # Per-simple-selector contributions used to explain this specificity.
31+
+ experimental optional array of SpecificityComponent components
32+
33+
# Selector list data.
34+
type SelectorList extends object
35+
```
36+
337
## Roll protocol to r1646372 — _2026-06-13T05:51:22.000Z_
438
###### Diff: [`838337e...1857dd0`](https://github.com/ChromeDevTools/devtools-protocol/compare/838337e...1857dd0)
539

@@ -42849,27 +42883,4 @@ index 4754f17c..8dad9c98 100644
4284942883
optional any value
4285042884
optional string objectId
4285142885
# Set if value reference met more then once during serialization. In such
42852-
```
42853-
42854-
## Roll protocol to r1195207 — _2023-09-12T04:25:54.000Z_
42855-
###### Diff: [`322248d...c0f98d9`](https://github.com/ChromeDevTools/devtools-protocol/compare/322248d...c0f98d9)
42856-
42857-
```diff
42858-
@@ browser_protocol.pdl:1015 @@ experimental domain Autofill
42859-
# fields and values defining an address.
42860-
array of AddressField fields
42861-
42862-
- # Defines how an address can be displayed like in chrome://settings/addresses.
42863-
+ # Defines how an address can be displayed like in chrome://settings/addresses.
42864-
# Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
42865-
# The following address UI for instance:
42866-
# [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]]
42867-
@@ -1053,7 +1053,7 @@ experimental domain Autofill
42868-
parameters
42869-
# Information about the fields that were filled
42870-
array of FilledField filledFields
42871-
- # An UI representation of the address used to fill the form.
42872-
+ # An UI representation of the address used to fill the form.
42873-
# Consists of a 2D array where each child represents an address/profile line.
42874-
AddressUI addressUi
4287542886
```

json/browser_protocol.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4432,6 +4432,34 @@
44324432
}
44334433
]
44344434
},
4435+
{
4436+
"id": "SpecificityComponent",
4437+
"description": "Contribution of an individual simple selector to specificity.",
4438+
"experimental": true,
4439+
"type": "object",
4440+
"properties": [
4441+
{
4442+
"name": "text",
4443+
"description": "The simple selector text that contributes to specificity.",
4444+
"type": "string"
4445+
},
4446+
{
4447+
"name": "a",
4448+
"description": "The a component contribution.",
4449+
"type": "integer"
4450+
},
4451+
{
4452+
"name": "b",
4453+
"description": "The b component contribution.",
4454+
"type": "integer"
4455+
},
4456+
{
4457+
"name": "c",
4458+
"description": "The c component contribution.",
4459+
"type": "integer"
4460+
}
4461+
]
4462+
},
44354463
{
44364464
"id": "Specificity",
44374465
"description": "Specificity:\nhttps://drafts.csswg.org/selectors/#specificity-rules",
@@ -4452,6 +4480,16 @@
44524480
"name": "c",
44534481
"description": "The c component, which represents the number of type selectors and pseudo-elements.",
44544482
"type": "integer"
4483+
},
4484+
{
4485+
"name": "components",
4486+
"description": "Per-simple-selector contributions used to explain this specificity.",
4487+
"experimental": true,
4488+
"optional": true,
4489+
"type": "array",
4490+
"items": {
4491+
"$ref": "SpecificityComponent"
4492+
}
44554493
}
44564494
]
44574495
},

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1647336",
3+
"version": "0.0.1648091",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/CSS.pdl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@ experimental domain CSS
8282
# Specificity of the selector.
8383
experimental optional Specificity specificity
8484

85+
# Contribution of an individual simple selector to specificity.
86+
experimental type SpecificityComponent extends object
87+
properties
88+
# The simple selector text that contributes to specificity.
89+
string text
90+
# The a component contribution.
91+
integer a
92+
# The b component contribution.
93+
integer b
94+
# The c component contribution.
95+
integer c
96+
8597
# Specificity:
8698
# https://drafts.csswg.org/selectors/#specificity-rules
8799
experimental type Specificity extends object
@@ -93,6 +105,8 @@ experimental domain CSS
93105
integer b
94106
# The c component, which represents the number of type selectors and pseudo-elements.
95107
integer c
108+
# Per-simple-selector contributions used to explain this specificity.
109+
experimental optional array of SpecificityComponent components
96110

97111
# Selector list data.
98112
type SelectorList extends object

types/protocol.d.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5153,6 +5153,29 @@ export namespace Protocol {
51535153
specificity?: Specificity;
51545154
}
51555155

5156+
/**
5157+
* Contribution of an individual simple selector to specificity.
5158+
* @experimental
5159+
*/
5160+
export interface SpecificityComponent {
5161+
/**
5162+
* The simple selector text that contributes to specificity.
5163+
*/
5164+
text: string;
5165+
/**
5166+
* The a component contribution.
5167+
*/
5168+
a: integer;
5169+
/**
5170+
* The b component contribution.
5171+
*/
5172+
b: integer;
5173+
/**
5174+
* The c component contribution.
5175+
*/
5176+
c: integer;
5177+
}
5178+
51565179
/**
51575180
* Specificity:
51585181
* https://drafts.csswg.org/selectors/#specificity-rules
@@ -5172,6 +5195,11 @@ export namespace Protocol {
51725195
* The c component, which represents the number of type selectors and pseudo-elements.
51735196
*/
51745197
c: integer;
5198+
/**
5199+
* Per-simple-selector contributions used to explain this specificity.
5200+
* @experimental
5201+
*/
5202+
components?: SpecificityComponent[];
51755203
}
51765204

51775205
/**

0 commit comments

Comments
 (0)